CVE-2016-7111 · mitre
CVE-2016-7111
MantisBT before 1.3.1 and 2.x before 2.0.0-beta.2 uses a weak Content Security Policy when using the Gravatar plugin, which allows remote attackers to conduct cross-site scripting (XSS) attacks via unspecified vectors.
Published 2017-02-17, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: mantisbt/mantisbt 1.3.1, 2.0.0-beta.2 (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 b3511d2f, b3511d2feb. Functions changed by the fix: http_csp_add, http_csp_value, http_security_headers, hooks, csp_headers, http_csp_emit_header, __autoload. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2017-02-17 | Published |
| 2022-05-17 | Package advisory GHSA-8vx9-hcvq-gfv8 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.00% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-8vx9-hcvq-gfv8 | mantisbt/mantisbt (Packagist) | 1.3.1 |
| GHSA-8vx9-hcvq-gfv8 | mantisbt/mantisbt (Packagist) | 2.0.0-beta.2 |
Also known as: GHSA-8vx9-hcvq-gfv8
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-47156 | 2026-09-09 | 9.3 | MantisBT: SOAP API Authentication Bypass with Privilege Escalation to Administrator |
| CVE-2026-44657 | 2026-05-28 | 7.5 | MantisBT: Stored XSS in File Download |
| CVE-2026-44655 | 2026-05-28 | 8.6 | MantisBT: Stored XSS on Move Attachments Admin Page |
| CVE-2026-42071 | 2026-05-28 | 7.2 | MantisBT: Private Bugnote Attachment Content Leak via REST API |
| CVE-2026-42070 | 2026-05-28 | 5.3 | MantisBT: Authorization Bypass in Bugnote Editing via Issue Update API |
| CVE-2026-41897 | 2026-05-28 | 5.3 | MantisBT: Reflected XSS in Rendering Dynamic Custom Textarea Field |
| CVE-2026-40607 | 2026-05-22 | 7.5 | MantisBT is Vulnerable to Stored XSS Through its Saved-Filter Owner Column |
| CVE-2026-40598 | 2026-05-22 | 6.9 | MantisBT 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-2016-7111, or call /api/v1/vulnerabilities/CVE-2016-7111. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.