MantisBT XSS via move_attachments_page.php
Moderate severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Jun 11, 2025
Package
Affected versions
< 1.3.9
>= 2.0.0, < 2.1.3
>= 2.2.0, < 2.2.3
Patched versions
1.3.9
2.1.3
2.2.3
Description
Published by the National Vulnerability Database
Mar 31, 2017
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Jun 11, 2025
Last updated
Jun 11, 2025
A cross-site scripting (XSS) vulnerability in the MantisBT Move Attachments page (move_attachments_page.php, part of admin tools) allows remote attackers to inject arbitrary code through a crafted 'type' parameter, if Content Security Protection (CSP) settings allows it. This is fixed in 1.3.9, 2.1.3, and 2.2.3. Note that this vulnerability is not exploitable if the admin tools directory is removed, as recommended in the "Post-installation and upgrade tasks" of the MantisBT Admin Guide. A reminder to do so is also displayed on the login page.
References