{"id":"CVE-2017-12061","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-12061","generatedAt":"2026-10-28T20:11:54.958Z","title":"An XSS issue was discovered in admin/install.php in MantisBT before 1.3.12 and 2.x before 2.5.2.","description":"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.","published":"2017-08-01T15:29:01.000Z","lastModified":"2026-06-17T01:02:37.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79"],"affected":["mantisbt/mantisbt"],"epss":{"score":0.02937,"percentile":0.87034,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (2.94%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://openwall.com/lists/oss-security/2017/08/01/1","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://openwall.com/lists/oss-security/2017/08/01/2","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1039030","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://mantisbt.org/bugs/view.php?id=23146","tags":["Issue Tracking","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://openwall.com/lists/oss-security/2017/08/01/1","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://openwall.com/lists/oss-security/2017/08/01/2","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1039030","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://mantisbt.org/bugs/view.php?id=23146","tags":["Issue Tracking","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-12061","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}