Back
CVE-2017-12061
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…
Medium6.1EPSS 2.9%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 2.9% · top 13% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistmantisbt/mantisbtGHSA-98xr-mmq5-vc5h (opens in a new tab)
References (6)
- http://openwall.com/lists/oss-security/2017/08/01/1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://mantisbt.org/bugs/view.php?id=23146 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1039030 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://openwall.com/lists/oss-security/2017/08/01/2 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-98xr-mmq5-vc5h (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-12061)Record last updated .