Cross-site scripting in MantisBT - CVE-2026-40598

 

Cross-site scripting in MantisBT - CVE-2026-40598

Published: November 6, 2026


Vulnerability identifier: #VU159799
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2026-40598
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to execute malicious scripts in a victim's browser on certain MantisBT server configurations.

The vulnerability exists due to improper escaping of a redirection URL taken from the Referer header on the tag update page. An unauthenticated remote attacker can supply a crafted Referer header to inject HTML and potentially poison a cache, leading to cross-site scripting when a victim views the affected page.


Affected software

MantisBT

How to mitigate CVE-2026-40598

Install security update from vendor's website.

MantisBT - update to 2.28.2

External References

Related Security Bulletins