CVE-2017-7897 json
MantisBT XSS via my_view_page.php and view_user_page.php
published 2017-04-18 9 y ago modified 2026-06-17 4 mo ago also GHSA-8r2m-qhff-jm2c , EUVD-2017-16868
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist mantisbt/mantisbt 2.3.2
- github.com/mantisbt/mantisbt@a1c7193 commit
- github.com/mantisbt/mantisbt#1094 pull request
Exploit prediction
1.75% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/mantisbt/mantisbt/pull/1094 referenced PoC, tagged "exploit" by a source, unverified
- mantisbt.org http://www.mantisbt.org/bugs/view.php?id=22742 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mantisbt/mantisbt | >=2.3.0, <2.3.2 |
2.3.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1
web, patch
-
github.com
/mantisbt/mantisbt/pull/1094
web, exploit, patch, vendor-advisory
-
mantisbt.org
/bugs/view.php?id=22742
web, exploit, issue-tracking
-
securitytracker.com
/id/1038278
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2017-7897
advisory
-
github.com
/mantisbt/mantisbt
package
Sources
- CVE List CVE-2017-7897
- GitHub Advisory GHSA-8r2m-qhff-jm2c
- NVD CVE-2017-7897
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.