Advisory

GHSA-fh48-f69w-7vmp

Also known as: CVE-2026-33517

Summary

MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation

Details

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$s from *$s_tag_delete_message* string, for example with sed -r -i '/tag_delete_message/s/.%1\$s.//' -- lang/

Credits
MantisBT hanks Vishal Shukla for discovering and responsibly reporting the issue.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-25 19:56 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.1 (ecosystem)

Fixed versions

2.28.1

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