What’s Vulnerable › Vulnerabilities
CVE-2017-7897
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2017-04-18 · updated 2026-06-17
- Weakness: CWE-79
Description
A cross-site scripting (XSS) vulnerability in the MantisBT (2.3.x before 2.3.2) Timeline include page, used in My View (my_view_page.php) and User Information (view_user_page.php) pages, allows remote attackers to inject arbitrary code (if CSP settings permit it) through crafted PATH_INFO in a URL, due to use of unsanitized $_SERVER['PHP_SELF'] to generate URLs.
Affected products
- mantisbt: 2.3.0, 2.3.1
References
- http://www.mantisbt.org/bugs/view.php?id=22742
- http://www.securitytracker.com/id/1038278
- https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1
- https://github.com/mantisbt/mantisbt/pull/1094
- http://www.mantisbt.org/bugs/view.php?id=22742
- http://www.securitytracker.com/id/1038278
- https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1
- https://github.com/mantisbt/mantisbt/pull/1094
Get alerted when CVE-2017-7897 or the next vulnerability affects your stack