Medium severity6.1NVD Advisory· Published Aug 1, 2017· Updated Jun 17, 2026
CVE-2017-12061
CVE-2017-12061
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mantisbt/mantisbtPackagist | < 1.3.12 | 1.3.12 |
mantisbt/mantisbtPackagist | >= 2.0.0, < 2.5.2 | 2.5.2 |
Affected products
2Patches
Vulnerability mechanics
References
9- github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0nvdPatchThird Party AdvisoryWEB
- github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5nvdPatchThird Party AdvisoryWEB
- openwall.com/lists/oss-security/2017/08/01/1nvdMailing ListThird Party AdvisoryWEB
- openwall.com/lists/oss-security/2017/08/01/2nvdMailing ListThird Party AdvisoryWEB
- www.securitytracker.com/id/1039030nvdThird Party AdvisoryVDB Entry
- github.com/advisories/GHSA-98xr-mmq5-vc5hghsaADVISORY
- mantisbt.org/bugs/view.phpnvdIssue TrackingVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2017-12061ghsaADVISORY
- web.archive.org/web/20170811053146/http://www.securitytracker.com/id/1039030ghsaWEB
News mentions
0No linked articles in our index yet.