CVE-2017-12061Mantisbt
Medium 6.1 No auth needed
Follow: this CVE · Mantisbt · Mantisbt We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 2.9% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Aug 1, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mantisbt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | mantisbt/mantisbt |
< 1.3.12 |
1.3.12 |
composer require "mantisbt/mantisbt:^1.3.12" |
| Packagist | mantisbt/mantisbt |
≥ 2.0.0 < 2.5.2 |
2.5.2 |
composer require "mantisbt/mantisbt:^2.5.2" |
Per OSV / GitHub Advisories (GHSA-98xr-mmq5-vc5h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mantisbt | mantisbt | ≥ 1.3.0 < 1.3.12 |
| mantisbt | mantisbt | ≥ 2.0.0 < 2.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- openwall.com Mailing List Third Party Advisory
- openwall.com Mailing List Third Party Advisory
- www.securitytracker.com Third Party Advisory VDB Entry
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- mantisbt.org Issue Tracking Vendor Advisory