GHSA-gg4j-279j-22ph
MantisBT allows cross-site scripting (XSS) via crafted filename
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | < 2.21.2 | 2.21.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.