GHSA-fh48-f69w-7vmp
MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | >= 2.28.0, < 2.28.1 | 2.28.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
Improper escaping of Tag name when deleting it in tag_delete.php allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript.
### Impact
Cross-site scripting (XSS).
### Patches
80990f43153167c73f11eb4b2bc7108d0c3d6b46
### Workarounds
* Revert commit d6890320752ecf37bd74d11fe14fe7dc12335be9
* Manually edit language files to remove the sprintf placeholder `%1$s` from *$s_tag_delete_message* string, for example with `sed -r -i '/tag_delete_message/s/.%1\$s.//' -- lang/`
### Credits
MantisBT hanks Vishal Shukla for discovering and responsibly reporting the issue.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-fh48-f69w-7vmp
- https://nvd.nist.gov/vuln/detail/CVE-2026-33517
- https://github.com/mantisbt/mantisbt/commit/80990f43153167c73f11eb4b2bc7108d0c3d6b46
- https://github.com/mantisbt/mantisbt/commit/d6890320752ecf37bd74d11fe14fe7dc12335be9
- https://github.com/mantisbt/mantisbt
- https://mantisbt.org/bugs/view.php?id=36971