MantisBT Vulnerable to Stored XSS in File Download
Description
Published to the GitHub Advisory Database
May 11, 2026
Reviewed
May 11, 2026
Published by the National Vulnerability Database
May 28, 2026
Last updated
Jun 9, 2026
Using show_inline=1 parameter and a valid file_show_inline_token CSRF token on file_download.php, an attacker can execute code by uploading a crafted XHTML attachment referencing a JavaScript attachment.
Impact
Cross-site scripting
Patches
Workarounds
None
Credits
Thanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.
References