HTML Injection Vulnerability in Mantis Bug Tracker by MantisBT
CVE-2026-33548
What is CVE-2026-33548?
Mantis Bug Tracker (MantisBT) version 2.28.0 is susceptible to an HTML injection vulnerability due to improper escaping of tag names within the Timeline feature. An attacker could exploit this issue to inject malicious HTML code or arbitrary JavaScript into the application, specifically when displaying tags that have been renamed or deleted. The problem arises from the retrieval of tag names in the my_view_page.php file, which may allow unauthorized script execution if Content Security Policy (CSP) settings are permissive. A patch has been introduced in version 2.28.1 to mitigate this vulnerability. In the meantime, workarounds involve editing the affected History entries using SQL commands or implementing string_html_specialchars() around the tag names in the IssueTagTimelineEvent class.
Affected Version(s)
mantisbt = 2.28.0
