Home / Mantisbt / Mantisbt / CVE-2017-7897
CVE-2017-7897: is it exploited, and which versions of Mantisbt are affected and fixed?
CVE-2017-7897 is a cross-site scripting (XSS) vulnerability in Mantisbt. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: mantisbt/mantisbt from 2.3.0 before 2.3.2 (GitHub advisory GHSA-8r2m-qhff-jm2c). Fixed in 2.3.2 (GitHub advisory GHSA-8r2m-qhff-jm2c). Severity: Medium (6.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:42 UTC.
What is CVE-2017-7897?
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.
From the CVE record by mitre, last updated August 5, 2024, 16:19 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | mantisbt/mantisbt | >= 2.3.0, < 2.3.2 | 2.3.2 | GHSA-8r2m-qhff-jm2c |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 4, 2025. Summary: MantisBT XSS via my_view_page.php and view_user_page.php.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mantisbt | mantisbt | 2.3.0 | application |
| mantisbt | mantisbt | 2.3.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:25 UTC.
How severe is CVE-2017-7897?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-7897 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.75% probability of exploitation activity in the next 30 days, percentile 78.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- http://www.mantisbt.org/bugs/view.php?id=22742 x_refsource_CONFIRM
- 1038278 vdb-entry, x_refsource_SECTRACK
- https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1 x_refsource_CONFIRM
- https://github.com/mantisbt/mantisbt/pull/1094 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- April 18, 2017
- Published
- April 18, 2017, 17:00 UTC
- CVE record updated
- August 5, 2024, 16:19 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:25 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:42 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mantisbt?
- Sep 9, 2026CVE-2026-47156 mantisbt: authentication bypass (improper authentication)
- May 28, 2026CVE-2026-42071 mantisbt: missing authorization
- May 28, 2026CVE-2026-42070 mantisbt: incorrect authorization
- May 28, 2026CVE-2026-44655 mantisbt: cross-site scripting (XSS)
- May 28, 2026CVE-2026-41897 mantisbt: cross-site scripting (XSS)
- May 28, 2026CVE-2026-44657 mantisbt: cross-site scripting (XSS)
- May 22, 2026CVE-2026-40607 mantisbt: cross-site scripting (XSS)
- May 22, 2026CVE-2026-40598 mantisbt: cross-site scripting (XSS)
Questions about CVE-2017-7897
Is CVE-2017-7897 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 1.75% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mantisbt are affected by CVE-2017-7897?
mantisbt/mantisbt from 2.3.0 before 2.3.2, per the GitHub advisory GHSA-8r2m-qhff-jm2c. The tables above give every range the sources list.
Which version fixes CVE-2017-7897?
2.3.2, per the GitHub advisory GHSA-8r2m-qhff-jm2c. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-7897?
Medium (6.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-7897?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.