Vulnerabilities · 2017 · Mantisbt
CVE-2017-7897
Mantisbt vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mantisbt runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mantisbt/mantisbt/pull/1094 · Exploit
- github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1 · Patch
- www.mantisbt.org/bugs/view.php?id=22742 · Exploit
- www.securitytracker.com/id/1038278
- nvd.nist.gov/vuln/detail/CVE-2017-7897
- github.com/advisories/GHSA-8r2m-qhff-jm2c
- nvd.nist.gov/vuln/detail/CVE-2017-7897
- cve.org/CVERecord?id=CVE-2017-7897
More vulnerabilities in Mantisbt products
CVE-2025-62520CVE-2025-55155CVE-2025-47776CVE-2025-46556CVE-2024-45792CVE-2024-34081CVE-2024-34080CVE-2024-34077All 124
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.