KeygraphLabs · CVE MCP

CVE-2017-7241 · mitre

CVE-2017-7241

A cross-site scripting (XSS) vulnerability in the MantisBT Move Attachments page (move_attachments_page.php, part of admin tools) allows remote attackers to inject arbitrary code through a crafted 'type' parameter, if Content Security Protection (CSP) settings allows it. This is fixed in 1.3.9, 2.1.3, and 2.2.3. Note that this vulnerability is not exploitable if the admin tools directory is removed, as recommended in the "Post-installation and upgrade tasks" of the MantisBT Admin Guide. A reminder to do so is also displayed on the login page.

Published 2017-03-31, last changed 2026-06-17. Weakness: CWE-79.

CVSS
4.8
medium, from NVD
EPSS
0.93%
percentile 61.8%, 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 1.3.9, 2.1.3, 2.2.3 (Packagist) (each is the fix for its own release line). 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 2d55c6476e, d31841c806, ecef0e9b52. Functions changed by the fix: get_attachment_stats. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-03-31Published
2022-05-17Package advisory GHSA-x53v-v9xp-gf6g
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.93%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-x53v-v9xp-gf6gmantisbt/mantisbt (Packagist)1.3.9
GHSA-x53v-v9xp-gf6gmantisbt/mantisbt (Packagist)2.1.3
GHSA-x53v-v9xp-gf6gmantisbt/mantisbt (Packagist)2.2.3

Also known as: GHSA-x53v-v9xp-gf6g

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-7241, or call /api/v1/vulnerabilities/CVE-2017-7241. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org