Live threats

All CVEs / Mantisbt

CVE-2017-12061Mantisbt

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mantisbt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mantisbtmantisbt≥ 1.3.0 < 1.3.12
mantisbtmantisbt≥ 2.0.0 < 2.5.2

Official sources

References

Links published by the sources. Open them with care.