CVE-2026-41897

MantisBT: Reflected XSS in Rendering Dynamic Custom Textarea Field

Published May 28, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Mantis Bug Tracker (MantisBT) is an open source issue tracker. From 1.0.0 to 2.28.1, lack of validation of filter_target parameter on return_dynamic_filters.php (normally used as an AJAX in View Issues Page) allows an attacker to inject arbitrary HTML if the target is a TEXTAREA custom field. This vulnerability is fixed in 2.28.2.

Analysis

AI-generated

Technical impact

The vulnerability is a reflected XSS in Mantis Bug Tracker caused by a missing validation on the filter_target parameter used in return_dynamic_filters.php. Attackers can inject arbitrary HTML when the target field is a custom TEXTAREA. The injected code can execute in the context of the affected user’s browser, enabling cross‑site scripting. This can lead to session hijacking, credential theft, or defacement. The weakness is identified as CWE‑79.

Affected Systems

MantisBT 1.0.0 through 2.28.1 versions are vulnerable. The issue is resolved in 2.28.2. Any installation running an affected version with the custom textarea functionality enabled is at risk.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity; EPSS data is unavailable and the vulnerability is not listed in KEV. The likely attack vector is via a crafted AJAX request from the View Issues page, which the attacker can trigger by luring a user to a malicious link or embedding the payload in shared issue data. Exploitation requires the victim to visit a page that triggers return_dynamic_filters.php with the injected filter_target value. Because the attack is reflected, it does not require enumeration of existing vulnerabilities, making it relatively straightforward to trigger if an attacker can attract targeted users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the MantisBT installation to version 2.28.2 or later to apply the vendor patch.
  • If an upgrade is not immediately possible, remove or disable the custom TEXTAREA fields that can be targeted, or configure the system to not expose the filter_target parameter to unauthenticated requests.
  • Apply strict input validation on the server side for the filter_target parameter to ensure only allowed values are accepted, mitigating injection attempts.

Generated by OpenCVE AI on May 28, 2026 at 21:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j7v9-f46r-2rp4 MantisBT is Vulnerable to Reflected XSS in Rendering Dynamic Custom Textarea Field
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mantisbt
Mantisbt mantisbt
Vendors & Products Mantisbt
Mantisbt mantisbt
Type Values Removed Values Added
Description Mantis Bug Tracker (MantisBT) is an open source issue tracker. From 1.0.0 to 2.28.1, lack of validation of filter_target parameter on return_dynamic_filters.php (normally used as an AJAX in View Issues Page) allows an attacker to inject arbitrary HTML if the target is a TEXTAREA custom field. This vulnerability is fixed in 2.28.2.
Title MantisBT: Reflected XSS in Rendering Dynamic Custom Textarea Field
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 30, 2026, 2:15 AM
Reserved
Apr 22, 2026, 3:11 PM
Status
Deferred
Published
May 28, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:47 AM