Advisory

GHSA-6jh4-47v2-4g37

Also known as: CVE-2026-40598

Summary

MantisBT has Potential Referer-Based Reflected HTML Injection / XSS in Tag Update Page

Details

Improper escaping of the redirection page (retrieved from the request's *Referer* header) allows an attacker to inject HTML.

While this is generally not directly actionable as modern browsers will URL-encode special characters, on some specific server configurations this could poison the cache, leading to cross-site scripting.

Impact
Cross-site scripting (XSS).

Patches

  • b1ebc57763f104eb5f541b7b4d1ce6948168abd9

Workarounds
None

Credits
Thanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-11 19:35 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

mantisbt/mantisbt

Packagist · All systems

Affected

  • introduced 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