CVE-2026-41897
Deferred Deferred - Pending Action
MantisBT HTML Injection via filter_target Parameter

Publication date: 2026-05-28

Last updated on: 2026-05-28

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-05-28
Generated
2026-05-29
AI Q&A
2026-05-29
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
mantisbt mantisbt to 2.28.2 (exc)
mantisbt mantisbt From 1.0.0 (inc) to 2.28.1 (inc)
mantisbt mantisbt 2.28.2
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability is a reflected Cross-Site Scripting (XSS) issue that allows attackers to inject arbitrary HTML or JavaScript code, potentially leading to unauthorized access to user sessions or data.

Such vulnerabilities can impact the confidentiality and integrity of data handled by the affected system, which may lead to non-compliance with data protection regulations like GDPR and HIPAA that require safeguarding personal and sensitive information.

Exploitation of this vulnerability could result in unauthorized disclosure or manipulation of data, thereby violating compliance requirements related to data security and privacy.

Therefore, organizations using vulnerable versions of MantisBT should upgrade to the patched version 2.28.2 promptly to maintain compliance with these standards.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by identifying attempts to exploit the reflected Cross-Site Scripting (XSS) flaw in the filter_target parameter of the return_dynamic_filters.php endpoint in MantisBT versions prior to 2.28.2.

Detection involves monitoring web server logs or network traffic for suspicious HTTP requests containing the filter_target parameter with unusual or malicious HTML or JavaScript code, especially targeting TEXTAREA custom fields.

Example commands to detect such attempts include searching web server logs for suspicious filter_target parameter values:

  • Using grep to find suspicious filter_target usage in Apache or Nginx logs: grep -i 'filter_target=' /var/log/apache2/access.log
  • Using grep with pattern matching for HTML tags or script tags in filter_target parameter: grep -E 'filter_target=.*<.*>' /var/log/apache2/access.log
  • Using network traffic analysis tools like tshark or Wireshark to filter HTTP GET requests containing filter_target parameter: tshark -Y 'http.request.uri contains "filter_target="'

Additionally, testing can be performed by crafting URLs with malicious payloads in the filter_target parameter to verify if the system is vulnerable, but this should be done in a controlled environment.


Can you explain this vulnerability to me?

This vulnerability exists in Mantis Bug Tracker (MantisBT) versions from 1.0.0 to 2.28.1. It is caused by a lack of validation of the filter_target parameter on the return_dynamic_filters.php script, which is typically used as an AJAX call in the View Issues Page.

Because of this lack of validation, an attacker can inject arbitrary HTML if the target is a TEXTAREA custom field. This means malicious HTML code can be inserted and potentially executed within the application.

The issue is fixed in version 2.28.2.


How can this vulnerability impact me? :

The vulnerability allows an attacker to inject arbitrary HTML into the application, which can lead to several impacts including potential cross-site scripting (XSS) attacks.

Such attacks can compromise user data, hijack user sessions, deface the website, or redirect users to malicious sites.

Since the vulnerability is exploitable without user interaction and requires low privileges, it increases the risk of exploitation.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should upgrade Mantis Bug Tracker to version 2.28.2 or later, where the issue with lack of validation of the filter_target parameter on return_dynamic_filters.php is fixed.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart