KeygraphLabs · CVE MCP

CVE-2017-7620 · mitre

CVE-2017-7620

MantisBT before 1.3.11, 2.x before 2.3.3, and 2.4.x before 2.4.1 omits a backslash check in string_api.php and consequently has conflicting interpretations of an initial \/ substring as introducing either a local pathname or a remote hostname, which leads to (1) arbitrary Permalink Injection via CSRF attacks on a permalink_page.php?url= URI and (2) an open redirect via a login_page.php?return= URI.

Published 2017-05-21, last changed 2026-06-17. Weakness: CWE-352.

CVSS
6.5
medium, from NVD
EPSS
1.36%
percentile 72.7%, chance of exploitation in 30 days
Exploitation
Public exploit
1 public reference

Public exploits

SourceKindReference
exploit-dbproof-of-conceptEDB-42043

How to fix

Upgrade to a fixed version: mantisbt/mantisbt 1.3.11, 2.3.3, 2.4.1 (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 2d2309a384, 8b6787c8d3, c4f50e5df6. Functions changed by the fix: filter_draw_selection_area2, string_sanitize_url. Regression tests: tests/Mantis/StringTest.php. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2017-05-21Published
2022-05-17Package advisory GHSA-9x76-mp7r-2xc5
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.36%
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-9x76-mp7r-2xc5mantisbt/mantisbt (Packagist)1.3.11
GHSA-9x76-mp7r-2xc5mantisbt/mantisbt (Packagist)2.3.3
GHSA-9x76-mp7r-2xc5mantisbt/mantisbt (Packagist)2.4.1

Also known as: GHSA-9x76-mp7r-2xc5

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

NVD · CVE.org