GHSA-fh48-f69w-7vmphigh8.6
MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
mantisbt/mantisbt Packagist
| Affected range | Recorded fix |
|---|---|
| From 2.28.0 before 2.28.1Ecosystem versions | 2.28.1 |
Version evidence: OSV · GHSA-fh48-f69w-7vmp
View original version evidence (1 explicit versions)
Original source description
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$sfrom $s_tag_delete_message string, for example withsed -r -i '/tag_delete_message/s/.%1\$s.//' -- lang/
Credits
MantisBT hanks Vishal Shukla for discovering and responsibly reporting the issue.
References
- Security advisory github.com/mantisbt/mantisbt/security/advisories/GHSA-fh48-f69w-7vmp
- Security advisory nvd.nist.gov/vuln/detail/CVE-2026-33517
- Patch github.com/mantisbt/mantisbt/commit/80990f43153167c73f11eb4b2bc7108d0c3d6b46
- Patch github.com/mantisbt/mantisbt/commit/d6890320752ecf37bd74d11fe14fe7dc12335be9
- Source reference github.com/mantisbt/mantisbt
- Source reference mantisbt.org/bugs/view.php