MantisBT allows cross-site scripting (XSS) via crafted filename
Moderate severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated May 29, 2025
Description
Published by the National Vulnerability Database
Aug 21, 2019
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
May 29, 2025
Last updated
May 29, 2025
The Timeline feature in my_view_page.php in MantisBT through 2.21.1 has a stored cross-site scripting (XSS) vulnerability, allowing execution of arbitrary code (if CSP settings permit it) after uploading an attachment with a crafted filename. The code is executed for any user having visibility to the issue, whenever My View Page is displayed.
References