6.1med
CVE-2017-7897
MantisBT XSS via my_view_page.php and view_user_page.php
Also known as GHSA-8r2m-qhff-jm2c
Published 9 y ago · modified 4 mo ago · JSON
CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.8%
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.
Exploit prediction (EPSS)
1.75% probability of exploitation in the next 30 days, higher than 78% of all scored CVEs.
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
- mantisbt.org /bugs/view.php?id=22742 · x_refsource_CONFIRM, x_transferred
- securitytracker.com /id/1038278 · vdb-entry, x_refsource_SECTRACK, x_transferred
- github.com /mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1 · x_refsource_CONFIRM, x_transferred
- github.com /mantisbt/mantisbt/pull/1094 · x_refsource_CONFIRM, x_transferred
- 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
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.