Home

Description

Mantis Bug Tracker (MantisBT) is an open source issue tracker. In versions 2.28.1 and below, 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. This issue has been fixed in version 2.28.2.

PUBLISHED Reserved 2026-04-14 | Published 2026-05-22 | Updated 2026-05-23 | Assigner GitHub_M




MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Problem types

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

Product status

< 2.28.2
affected

References

mantisbt.org/bugs/view.php?id=37017 exploit

github.com/...ntisbt/security/advisories/GHSA-6jh4-47v2-4g37

github.com/...ommit/b1ebc57763f104eb5f541b7b4d1ce6948168abd9

mantisbt.org/bugs/view.php?id=37017

cve.org (CVE-2026-40598)

nvd.nist.gov (CVE-2026-40598)

Download JSON