KeygraphLabs · CVE MCP

CVE-2017-7897 · mitre

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.

Published 2017-04-18, last changed 2026-06-17. Weakness: CWE-79.

CVSS
6.1
medium, from NVD
EPSS
1.75%
percentile 78.7%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: mantisbt/mantisbt 2.3.2 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in mantisbt/mantisbt by a1c719313d, pull request #1094. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-04-18Published
2022-05-17Package advisory GHSA-8r2m-qhff-jm2c
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.75%
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-8r2m-qhff-jm2cmantisbt/mantisbt (Packagist)2.3.2

Also known as: GHSA-8r2m-qhff-jm2c

Related

CVEPublishedCVSSSummary
CVE-2026-471562026-09-099.3MantisBT: SOAP API Authentication Bypass with Privilege Escalation to Administrator
CVE-2026-446572026-05-287.5MantisBT: Stored XSS in File Download
CVE-2026-446552026-05-288.6MantisBT: Stored XSS on Move Attachments Admin Page
CVE-2026-420712026-05-287.2MantisBT: Private Bugnote Attachment Content Leak via REST API
CVE-2026-420702026-05-285.3MantisBT: Authorization Bypass in Bugnote Editing via Issue Update API
CVE-2026-418972026-05-285.3MantisBT: Reflected XSS in Rendering Dynamic Custom Textarea Field
CVE-2026-406072026-05-227.5MantisBT is Vulnerable to Stored XSS Through its Saved-Filter Owner Column
CVE-2026-405982026-05-226.9MantisBT has Potential Referer-Based Reflected HTML Injection / XSS in Tag Update Page

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-7897, or call /api/v1/vulnerabilities/CVE-2017-7897. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org