XSS in Mantisbt

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 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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.029 (86.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2017-12061: held from 0.029 to 0.029.

EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2017-12061?
CVE-2017-12061 is a medium-severity vulnerability in Mantisbt, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2017-08-01.
How severe is CVE-2017-12061?
Medium severity. CVSS v3 base score is 6.1 out of 10.