CVE-2026-33517: MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation
Improper escaping of Tag name when deleting it in tagdelete.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 $stagdeletemessage…
Published Mar 25, 2026
Affected packages
mantisbt/mantisbt
- Ecosystem
- Composer (PHP)
- Affected
- = 2.28.0
- Fixed in
- 2.28.1
- Check
composer show mantisbt/mantisbt
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to shukla304, dregad.
References
- 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://mantisbt.org/bugs/view.php?id=36971
- https://github.com/advisories/GHSA-fh48-f69w-7vmp
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-47142
MantisBT: SQL Injection via history_order Configuration Value
high8.5Jul 15, 2026CVE-2026-47156
MantisBT: SOAP API Authentication Bypass with Privilege Escalation to Administrator
critical9.3Jul 15, 2026CVE-2026-49273
MantisBT: Remote Code Execution via eval() Class Hoisting in adm_config_set.php
high8.6Jul 15, 2026CVE-2026-49280
MantisBT: REST API unauthorized Issue status change
medium5.3Jul 15, 2026CVE-2026-52847
MantisBT: Reflected XSS in admin/install.php
critical9.2Jul 15, 2026CVE-2026-52881
MantisBT: Reflected XSS in admin/install.php via unescaped printf
critical9.2Jul 15, 2026
