CVE Explorer
CVE-2026-40597
Mantis Bug Tracker (MantisBT) is an open source issue tracker. In versions 2.28.1 and below, given any pre-existing XSS / HTML injection vulnerability, an attacker can bypass the Content Security Policy's script-src directive by uploading a crafted attachment to any issue that, when accessed via the file_download.php link, will be downloaded with a valid JavaScript MIME type resulting in script execution. The uploaded payload must be sniffed as a valid JavaScript MIME type by PHP finfo (see file
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1169160789869f0277b44de836f6c1a00726c1862f01c09b70515b7f9336e837 · sha256:93c688b576507c56… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-358","description":"CWE-358: Improperly Implemented Security Check for Standard","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1169160789869f0277b44de836f6c1a00726c1862f01c09b70515b7f9336e837 · sha256:93c688b576507c56… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"mantisbt","vendor":"mantisbt","versions":[{"status":"affected","version":"< 2.28.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1169160789869f0277b44de836f6c1a00726c1862f01c09b70515b7f9336e837 · sha256:93c688b576507c56… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.6,"baseSeverity":"HIGH","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1169160789869f0277b44de836f6c1a00726c1862f01c09b70515b7f9336e837 · sha256:93c688b576507c56… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1169160789869f0277b44de836f6c1a00726c1862f01c09b70515b7f9336e837 · sha256:93c688b576507c56… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-358","description":"CWE-358: Improperly Implemented Security Check for Standard","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1169160789869f0277b44de836f6c1a00726c1862f01c09b70515b7f9336e837 · sha256:93c688b576507c56… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/mantisbt/mantisbt/commit/9e3bee2e7b909f4e3596985892b8bc8bee9e0bfe","tags":["x_refsource_MISC"],"url":"https://github.com/mantisbt/mantisbt/commit/9e3bee2e7b909f4e3596985892b8bc8bee9e0bfe"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1169160789869f0277b44de836f6c1a00726c1862f01c09b70515b7f9336e837 · sha256:93c688b576507c56… · /containers/cna/references/1
{"name":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-9c3j-xm6v-j7j3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-9c3j-xm6v-j7j3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1169160789869f0277b44de836f6c1a00726c1862f01c09b70515b7f9336e837 · sha256:93c688b576507c56… · /containers/cna/references/0
{"name":"https://mantisbt.org/bugs/view.php?id=37016","tags":["x_refsource_MISC"],"url":"https://mantisbt.org/bugs/view.php?id=37016"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1169160789869f0277b44de836f6c1a00726c1862f01c09b70515b7f9336e837 · sha256:93c688b576507c56… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.