Improper Escaping Vulnerability in Mantis Bug Tracker by MantisBT
CVE-2026-39960
What is CVE-2026-39960?
Mantis Bug Tracker versions 2.28.1 and earlier suffer from a vulnerability due to flawed logic in handling textarea custom field inputs on the Update Issue page. This flaw allows attackers to inject malicious HTML and, under certain Content Security Policy (CSP) configurations, execute arbitrary JavaScript when the affected page is viewed. An attacker, who must be an authenticated user with permission to report bugs, can exploit this vulnerability to steal user sessions, potentially leading to unauthorized access to administrative accounts and sensitive project data. Users are advised to upgrade to version 2.28.2 to mitigate this risk. As a temporary measure, implementing the default CSP can help block script execution, reducing the chance of exploitation.
Affected Version(s)
mantisbt < 2.28.2
