GHSA-p495-jrpq-p66g
MantisBT XSS when uploading an attachment
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | < 2.21.3 | 2.21.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
The proj_doc_edit_page.php Project Documentation feature in MantisBT before 2.21.3 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 when editing the document's page.
References
External links from the advisory. They lead to third-party sites.