Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege MantisBT account
-
DeliveryIdentify TEXTAREA-type custom field in target instance
-
ExploitCraft malicious AJAX request with HTML payload in filter_target
-
InstallDeliver crafted URL to authenticated victim user
-
C2Victim browser requests return_dynamic_filters.php with payload
-
ExecuteUnvalidated field ID rendered unescaped into HTML response
-
ImpactInjected JavaScript executes in victim's browser context
-
Step 8Session token or credentials exfiltrated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authentication at low-privilege level is required (PR:L confirmed by the vendor-supplied CVSS 4.0 vector), meaning the attacker must hold a valid MantisBT user account. The target installation must have at least one custom field of type TEXTAREA configured - this is not a default factory setting but is common in production deployments that customize issue-tracking workflows; without a TEXTAREA custom field, the injection pathway does not render. The AJAX endpoint |
| Impact | The vendor-assigned CVSS 4.0 score of 5.3 (Medium) with vector |
| Exploit ScenarioDerived | An attacker holding a low-privilege MantisBT account crafts a URL or AJAX request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Reflected XSS in MantisBT versions 1.0.0 through 2.28.1 allows an authenticated low-privilege attacker to inject arbitrary HTML into the View Issues Page by supplying a malicious value in the unvalidated filter_target parameter of the return_dynamic_filters.php AJAX endpoint, exploitable specifically when the target resolves to a TEXTAREA-type custom field. The vendor's CVSS 4.0 vector confirms low-privilege authentication is required and impact is limited to low confidentiality and integrity loss against victim users. No public exploit has been identified and EPSS probability stands at 0.04%, placing this firmly in the low-urgency tier despite its network accessibility; patch version 2.28.2 is confirmed available.
RemediationAI
Upgrade MantisBT to version 2.28.2, the confirmed fixed release per the GitHub advisory GHSA-j7v9-f46r-2rp4 (https://github.com/mantisbt/mantisbt/security/advisories/GHSA-j7v9-f46r-2rp4) and patch commit c885af13f0b8596714ffe11df757c09f35fbd8f4 (https://github.com/mantisbt/mantisbt/commit/c885af13f0b8596714ffe11df757c09f35fbd8f4). The vendor confirms no official workarounds exist. As a temporary compensating control prior to patching, deploy a WAF rule rejecting non-numeric values in the filter_target (or equivalent custom field ID) parameter on requests to return_dynamic_filters.php; note this may break AJAX dynamic filter rendering for any deployment using non-numeric field identifiers, requiring testing before enforcement. Restricting MantisBT to authenticated internal users via network controls reduces the attacker pool but does not eliminate the vulnerability since PR:L is already required. Disabling TEXTAREA-type custom fields removes the specific injection pathway but disrupts legitimate workflow customization in affected instances.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MantisBT is an open-source PHP bug-tracking system distributed via Composer (pkg:composer/mantisbt/mantisbt). The vulnerable component is return_dynamic_filters.php, an AJAX endpoint invoked by the View Issues Page to dynamically render filter UI widgets for custom fields. The filter_target parameter - intended to identify a custom field by its numeric ID - is passed unsanitized to print_filter_custom_field() in core/filter_form_api.php, where it is interpolated directly into HTML attribute values (e.g., name="custom_field_<ID>") without numeric validation or HTML encoding. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: attacker-controlled HTTP input flows into HTML output without escaping. The commit diff for c885af13 reveals two layers of fix: a numeric guard if( !is_numeric( $t_custom_id ) ) added in return_dynamic_filters.php that throws a ClientException on non-numeric input, and string_html_specialchars() encoding applied to field IDs in filter_form_api.php to prevent attribute injection. The additional changes in core/date_api.php apply the same encoding discipline to date-picker select element names, reflecting a broader HTML-injection hardening sweep in this release.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Reflected XSS requires victim to process a crafted request (UI:R); scope changes to victim browser context (S:C); PR:L confirmed by vendor CVSS 4.0; no availability impact.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Impact
Cross-site scripting (XSS)
Patches
- c885af13f0b8596714ffe11df757c09f35fbd8f4
Workarounds
None
Credits
Thanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-33024
GHSA-j7v9-f46r-2rp4
NVD
CVE.org
EPSS
VulDB
Exploit-DB