CVE-2017-12061
MEDIUM 6.1CVSS 3.1MantisBT XSS allows unsanitized input via admin/install.php
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
- 1 Aug 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-98xr-mmq5-vc5h
- Sources
- NVDJSONOSV GHSA-98xr-mmq5-vc5hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:* |
>= 1.3.0, < 1.3.12 | 1.3.12 |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.5.2 | 2.5.2 |
| OSV | Packagist | mantisbt/mantisbt | < 1.3.12 | 1.3.12 |
| OSV | Packagist | mantisbt/mantisbt | >= 2.0.0, < 2.5.2 | 2.5.2 |
References
- http://openwall.com/lists/oss-security/2017/08/01/1 · Mailing List, Third Party Advisory, WEB
- http://openwall.com/lists/oss-security/2017/08/01/2 · Mailing List, Third Party Advisory, WEB
- http://www.securitytracker.com/id/1039030 · Third Party Advisory, VDB Entry
- https://github.com/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0 · Patch, Third Party Advisory, WEB
- https://github.com/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5 · Patch, Third Party Advisory, WEB
- https://mantisbt.org/bugs/view.php?id=23146 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-12061 · ADVISORY
- https://github.com/mantisbt/mantisbt · PACKAGE
- https://web.archive.org/web/20170811053146/http://www.securitytracker.com/id/1039030 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 1 Aug 2017)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)