CVE-2017-12061 json
MantisBT XSS allows unsanitized input via admin/install.php
published 9y ago modified 4mo ago also GHSA-98xr-mmq5-vc5h , EUVD-2017-3647
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist mantisbt/mantisbt 1.3.12, 2.5.2
- mantisbt mantisbt 1.3.12, 2.5.2
Is CVE-2017-12061 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-12061 updated cvss 6.1
mantis: XSS in admin/install.php
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.94% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mantisbt/mantisbt | <1.3.12 >=2.0.0, <2.5.2 |
1.3.12 2.5.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/mantisbt/mantisbt/commit/17f9b94f031ba93ae2a727bca0e68458ecd08fb0
web, patch, third-party-advisory
-
github.com
/mantisbt/mantisbt/commit/c73ae3d3d4dd4681489a9e697e8ade785e27cba5
web, patch, third-party-advisory
-
mantisbt.org
/bugs/view.php?id=23146
web, issue-tracking, vendor-advisory
-
openwall.com
/lists/oss-security/2017/08/01/1
web, mailing-list, third-party-advisory
-
securitytracker.com
/id/1039030
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2017/08/01/2
web, mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-12061
advisory
-
github.com
/mantisbt/mantisbt
package
-
web.archive.org
/web/20170811053146/http://www.securitytracker.com/id/1039030
web
Sources
- CVE List CVE-2017-12061
- GitHub Advisory GHSA-98xr-mmq5-vc5h
- NVD CVE-2017-12061
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.