Cross-site scripting in MantisBT - CVE-2026-40598
Published: November 6, 2026
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.