Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
MantisBT versions before 2.28.2 (Packagist mantisbt/mantisbt) can be bypassed in their Content Security Policy script-src restriction through uploaded attachments. An attacker who can already inject XSS or HTML into a page could upload a crafted attachment to an issue; when it is served through file_download.php with a valid JavaScript MIME type, the browser executes it as script. Upgrade to version 2.28.2, which contains the fix. The source lists no workarounds.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.6 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0050, the 42nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 13:59 UTC First seen by agentprime
- 31 Oct 2026, 13:59 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-9c3j-xm6v-j7j3
- OSV: GHSA-9c3j-xm6v-j7j3
- github.com/mantisbt/mantisbt/security/advisories/GHSA-9c3j-xm6v-j7j3
- nvd.nist.gov/vuln/detail/CVE-2026-40597
- github.com/mantisbt/mantisbt/commit/9e3bee2e7b909f4e3596985892b8bc8bee9e0bfe
- github.com/mantisbt/mantisbt
- mantisbt.org/bugs/view.php?id=37016