CVE-2026-33517

MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation

Published Mar 23, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
Mantis Bug Tracker (MantisBT) is an open source issue tracker. In version 2.28.0, when deleting a Tag (tag_delete.php), improper escaping of its name when displaying the confirmation message allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript. Version 2.28.1 fixes the issue. Workarounds include reverting commit d6890320752ecf37bd74d11fe14fe7dc12335be9 and/or manually editing language files to remove the sprintf placeholder `%1$s` from `$s_tag_delete_message` string.

Analysis

AI-generated

Technical impact

In MantisBT 2.28.0, the tag deletion interface displays the tag name in a confirmation message without proper escaping, allowing an attacker to embed malicious HTML or JavaScript into the page. If the site’s Content‑Security‑Policy permits script execution, the injected code runs in the browser context of any user who views the confirmation, enabling theft of session data, credential compromise, or further web‑based attacks.

Affected Systems

All installations of Mantis Bug Tracker version 2.28.0 are vulnerable; the issue is fixed in 2.28.1. The vulnerability impacts any system running that exact version, regardless of other configuration, and can be observed across the common platform enumeration cpe:2.3:a:mantisbt:mantisbt:2.28.0.

Risk and Exploitability

The CVSS score of 8.6 indicates high severity, while the EPSS score of less than 1% suggests a low current exploitation probability. This entry is not listed in the KEV catalog. Attacks require an authenticated user with permission to delete tags; the exploitation occurs during normal use of the web interface, making the vulnerability accessible to anyone who can modify or create tags with malicious content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MantisBT to version 2.28.1 or later
  • If an upgrade is not immediately possible, revert commit d6890320752ecf37bd74d11fe14fe7dc12335be9 to restore the previous safe code
  • Alternatively, edit the language file to remove the sprintf placeholder %1$s from the $s_tag_delete_message string to prevent unsanitized output

Generated by OpenCVE AI on March 25, 2026 at 16:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fh48-f69w-7vmp MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation
History
Type Values Removed Values Added
CPEs cpe:2.3:a:mantisbt:mantisbt:2.28.0:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mantisbt
Mantisbt mantisbt
Vendors & Products Mantisbt
Mantisbt mantisbt
Type Values Removed Values Added
Description Mantis Bug Tracker (MantisBT) is an open source issue tracker. In version 2.28.0, when deleting a Tag (tag_delete.php), improper escaping of its name when displaying the confirmation message allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript. Version 2.28.1 fixes the issue. Workarounds include reverting commit d6890320752ecf37bd74d11fe14fe7dc12335be9 and/or manually editing language files to remove the sprintf placeholder `%1$s` from `$s_tag_delete_message` string.
Title MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 24, 2026, 2:17 PM
Reserved
Mar 20, 2026, 4:59 PM
Status
Analyzed
Published
Mar 23, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:37 AM