An XSS issue was discovered in admin/install.php in MantisBT before 1.3.12 and 2.x before 2.5.2. Some variables under user control in the MantisBT installation script are not properly sanitized before being output, allowing remote attackers to inject arbitrary JavaScript code, as demonstrated by the $f_database, $f_db_username, and $f_admin_username variables. This is mitigated by the fact that the admin/ folder should be deleted after installation, and also prevented by CSP.
                
            Metrics
Affected Vendors & Products
References
        History
                    No history.
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: mitre
Published: 2017-08-01T15:00:00
Updated: 2024-08-05T18:28:15.672Z
Reserved: 2017-07-31T00:00:00
Link: CVE-2017-12061
 Vulnrichment
                        Vulnrichment
                    No data.
 NVD
                        NVD
                    Status : Deferred
Published: 2017-08-01T15:29:00.547
Modified: 2025-04-20T01:37:25.860
Link: CVE-2017-12061
 Redhat
                        Redhat
                    No data.