CVE-2017-7897
MEDIUM 6.1CVSS 3.0MantisBT XSS via my_view_page.php and view_user_page.php
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.
- Published
- 18 Apr 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-8r2m-qhff-jm2c
- Sources
- NVDJSONOSV GHSA-8r2m-qhff-jm2cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.3.0:*:*:*:*:*:*:* |
= 2.3.0 | |
| NVD | mantisbt | mantisbtcpe:2.3:a:mantisbt:mantisbt:2.3.1:*:*:*:*:*:*:* |
= 2.3.1 | |
| OSV | Packagist | mantisbt/mantisbt | >= 2.3.0, < 2.3.2 | 2.3.2 |
References
- http://www.mantisbt.org/bugs/view.php?id=22742 · Exploit, Issue Tracking, WEB
- http://www.securitytracker.com/id/1038278
- https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1 · Patch, WEB
- https://github.com/mantisbt/mantisbt/pull/1094 · Exploit, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-7897 · ADVISORY
- https://github.com/mantisbt/mantisbt · PACKAGE
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 18 Apr 2017)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 May 2022)