GitHub Advisory Database
GHSA-p495-jrpq-p66g
MantisBT XSS when uploading an attachment
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | mantisbt/mantisbt | All versions before 2.21.3 (fixed in 2.21.3) |