Mantis Bug Tracker Stored Cross-Site Scripting Vulnerability in Custom Textarea Fields

Vulnerability

A stored cross-site scripting vulnerability has been identified in Mantis Bug Tracker (MantisBT) versions 2.28.1 and earlier. The issue arises from improper escaping of textarea custom field contents on the Update Issue page, allowing an authenticated user with bug report permission to inject HTML. If the Content Security Policy (CSP) settings permit, this injected HTML could be used to execute arbitrary JavaScript when the page is loaded. The vulnerability could lead to session theft, allowing an attacker to take over an admin account and gain full access to project data. This issue affects any user viewing the bug edit form, including administrators.

Impact

Exploitation of this vulnerability could result in session theft, allowing an attacker to take over an admin account and gain full access to project data.

Remediation

Users can upgrade to MantisBT version 2.28.2, where this vulnerability has been patched. If an immediate upgrade is not possible, the issue can be mitigated by using the default Content-Security Policy, which blocks script execution.

Added: May 20, 2026, 10:24 PM
Updated: May 20, 2026, 10:24 PM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
1.7
exploitability
5.7
remediation
7.9
relevance
8.9
threat
3.2
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.