Improperly implemented security check for standard in MantisBT - CVE-2026-40597
Published: November 6, 2026
Vulnerability details
The vulnerability allows a low-privileged remote attacker to bypass MantisBT's Content Security Policy and execute JavaScript through a pre-existing XSS or HTML injection vulnerability.
The vulnerability exists due to crafted issue attachments being served through file_download.php with a valid JavaScript MIME type that satisfies the policy's script-source restrictions. A low-privileged remote attacker can upload such an attachment and reference it through the existing injection vulnerability to execute scripts in a victim's browser.