medium6.1
CVE-2017-7897
MantisBT XSS via my_view_page.php and view_user_page.php
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | mantisbt/mantisbt | >= 2.3.0, < 2.3.2 | 2.3.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mantisbt | Mantisbt | Versions 2.3.0, 2.3.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-8r2m-qhff-jm2c
- https://nvd.nist.gov/vuln/detail/CVE-2017-7897