Mantis Bug Tracker Cross-Site Scripting Vulnerability Allowing Account Takeover

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Mantis Bug Tracker (MantisBT) versions 2.11.0 through 2.28.1. This vulnerability allows any authenticated user to inject arbitrary HTML by updating their account's font family preference. The injected HTML is executed as a script, reflecting the XSS payload on every MantisBT page. Additionally, this vulnerability can be leveraged to take over the user's account by exploiting a Content Security Policy (CSP) bypass vulnerability, also present in MantisBT.

Impact

Exploitation of this vulnerability allows for cross-site scripting, with the injected script being executed in the context of the user's session.

Reproduction

To reproduce this vulnerability, an authenticated user can send a POST request to the 'account_prefs_update.php' endpoint. This request must include a 'font_family' parameter with a value that contains the injected HTML, such as a script tag referencing a JavaScript file that exploits the CSP bypass vulnerability. Once the font family preference is updated, the injected script will be executed when the user accesses any MantisBT page.

Remediation

Users can update to MantisBT version 2.28.2, where this vulnerability has been fixed.

Added: May 26, 2026, 2:47 PM
Updated: May 26, 2026, 2:47 PM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
1.7
exploitability
6.6
remediation
7.7
relevance
9.1
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.