GitHub Advisoryadvisory · Packagist
GHSA-73vx-49mv-v8w5 MantisBT has Stored HTML Injection/XSS when displaying Tags in Timeline
HIGH
Official page ↗
- Aliases
- CVE-2026-33548
- Ecosystem
- Packagist
- Packages
- mantisbt/mantisbt
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2026-03-25
Affected packages
• Packagist mantisbt/mantisbt: >= 2.28.0, < 2.28.2 → fixed in 2.28.2
Description
Improper escaping of tag names retrieved from History in Timeline (my_view_page.php) allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript, when displaying a tag that has been renamed or deleted.
Impact
Cross-site scripting (XSS).
Patches
f32787c14d4518476fe7f05f992dbfe6eaccd815
Workarounds
• Edit offending History entries (using SQL)
• Wrap `$this->tag_name` in a string_html_specialchars() call in IssueTagTimelineEvent::html()
Credits
MantisBT thanks Vishal Shukla for discovering and responsibly reporting the issue.
Related
Alias · CVE (1)
- CVE-2026-33548 Mantis Bug Tracker (MantisBT) is an open source issue tracker. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-73vx-49mv-v8w5 web
- https://nvd.nist.gov/vuln/detail/CVE-2026-33548 advisory
- https://github.com/mantisbt/mantisbt/commit/f32787c14d4518476fe7f05f992dbfe6eaccd815 web
- https://github.com/mantisbt/mantisbt package
- https://mantisbt.org/bugs/view.php?id=36973 web