Mantis Bug Tracker Stored Cross-Site Scripting Vulnerability in Issue Cloning Feature

Vulnerability

A stored cross-site scripting vulnerability has been identified in Mantis Bug Tracker (MantisBT) versions 2.28.1 and prior. The issue arises when cloning an issue from a different project. The clone form (bug_report_page.php) includes the source project name before the category selector without proper escaping. This flaw allows an attacker with manager or administrator access to inject HTML. The vulnerability has been patched in version 2.28.2.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected HTML is executed in the context of the user.

Reproduction

To reproduce this vulnerability, rename a project to include a harmless HTML payload, such as a span element. Then, switch to a different project and open the clone form for an issue in the project with the injected HTML. The source project name will be rendered as HTML, demonstrating the cross-site scripting vulnerability.

Remediation

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

Added: May 19, 2026, 10:19 PM
Updated: May 19, 2026, 10:19 PM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
1.7
exploitability
5.9
remediation
8.3
relevance
8.8
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.