Advisory

GHSA-73vx-49mv-v8w5

Also known as: CVE-2026-33548

Summary

MantisBT has Stored HTML Injection/XSS when displaying Tags in Timeline

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-25 20:09 UTC
Modified
2026-03-25 20:26 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 2.28.0, fixed 2.28.2 (ecosystem)

Fixed versions

2.28.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences