Skip to main content

MantisBT EUVDEUVD-2026-33023

| CVE-2026-44657 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-11 https://github.com/mantisbt/mantisbt GHSA-p6fr-rxq7-xcg8
7.5
CVSS 4.0 · Vendor: https://github.com/mantisbt/mantisbt
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged MantisBT user
  2. Delivery
    Upload crafted XHTML/JS attachment to issue
  3. Exploit
    Craft file_download.php link (show_inline=1 + inline token)
  4. Execution
    Lure victim to open link
  5. Persist
    Browser executes script, bypassing CSP
  6. Impact
    Hijack authenticated session

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

Exploitation requires: (1) an authenticated MantisBT account with permission to upload attachments to an issue (PR:L); (2) the attacker uploading a crafted XHTML attachment that references a separate JavaScript attachment, or a payload that PHP finfo sniffs as a valid JavaScript MIME type for the CSP-bypass variant; (3) access to a valid file_show_inline_token CSRF token and use of the show_inline=1 parameter on file_download.php; and (4) a victim user interacting by opening the malicious download link (UI:P). Exploitation is LIMITED by the need for a real account and valid inline token, the requirement that the payload be MIME-sniffed as active/JavaScript content (X-Content-Type-Options: nosniff blocks non-JavaScript MIME types from <script> import), and by required victim interaction - it is not remote-unauthenticated and does not work against a default configuration without an attacker-controlled account. Affected only in MantisBT versions <= 2.28.1.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L, base 7.5) indicates network reachability and low complexity, but real exploitation is gated by several factors: AT:P (a present attack requirement), PR:L (attacker needs a valid low-privileged authenticated account able to create issues and upload attachments), UI:P (a victim must open the malicious download link), and possession of a valid file_show_inline_token CSRF token. These preconditions materially lower practical risk versus the headline score. Signal alignment is consistent and unalarming: EPSS is only 0.06% (20th percentile), the CVE is NOT on CISA KEV, and no public POC is referenced - this is a researcher-reported, responsibly-disclosed issue, not evidence of active or automatable mass exploitation. This is a legitimate XSS to patch on a normal cycle, not an emergency; its main value to an attacker is as a CSP-bypass escalation of an existing injection foothold rather than a standalone unauthenticated compromise.

Exploit ScenarioDerived

A low-privileged authenticated user creates or comments on an issue, uploads a crafted XHTML attachment that references a second JavaScript attachment, then lures a logged-in staff member into opening the file_download.php link with show_inline=1 and a valid file_show_inline_token. The browser renders the XHTML as active content and executes the referenced script in the victim's authenticated session, bypassing MantisBT's CSP. No public exploit code has been identified, though the researcher (siunam) demonstrated the technique privately during disclosure.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 23, 2026

Stored/DOM cross-site scripting in MantisBT before 2.28.2 lets an authenticated attacker achieve script execution by uploading a crafted XHTML attachment that references a JavaScript attachment and retrieving it via file_download.php with show_inline=1 and a valid file_show_inline_token CSRF token. The companion advisory (GHSA-9c3j-xm6v-j7j3) shows the same download path can be abused to bypass the Content-Security-Policy script-src directive by serving an attachment with a JavaScript MIME type, turning any HTML-injection primitive into full script execution. No public exploit has been identified at time of analysis and EPSS is low (0.06%, 20th percentile), consistent with responsible disclosure by researcher siunam rather than in-the-wild abuse.

RemediationAI

Vendor-released patch: upgrade to MantisBT 2.28.2, which contains the fixes (commits 26647b2e68ba30b9d7987d4e03d7a16416684bc2 and 9e3bee2e7b909f4e3596985892b8bc8bee9e0bfe) that normalize the Content-Type of downloaded attachments - forcing text/* content to text/plain and all non-audio/video types to application/octet-stream so browsers no longer execute HTML or JavaScript served from file_download.php. The advisories explicitly state there are no supported workarounds, so patching is the required action; refer to https://github.com/mantisbt/mantisbt/security/advisories/GHSA-p6fr-rxq7-xcg8 and https://github.com/mantisbt/mantisbt/security/advisories/GHSA-9c3j-xm6v-j7j3. If upgrading cannot be done immediately, reduce exposure by restricting attachment-upload rights to trusted accounts and limiting reporter/account self-registration (trade-off: hampers legitimate external bug reporters), and consider a reverse-proxy rule that forces Content-Disposition: attachment / application/octet-stream on file_download.php responses (trade-off: breaks intended inline preview of benign attachments).

Affected VersionsENISA

mantisbt < 2.28.2

Affected Packages

composer mantisbt/mantisbt fix: 2.28.2
euvd mantisbt 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 a PHP-based open-source bug-tracking web application (distributed as the composer/mantisbt package). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation). The vulnerable component is file_download.php, which decides whether an uploaded attachment is served inline versus as a forced download and what Content-Type header to apply. Before the fix, when show_inline was requested the handler served attachments using their sniffed MIME type without normalizing dangerous types, so an XHTML file (rendered as active HTML) or a file that PHP finfo sniffs as a JavaScript MIME type would be interpreted and executed by the browser rather than treated as an opaque download. Because browsers honor X-Content-Type-Options: nosniff, the CSP-bypass variant specifically requires the payload to be sniffed as a genuine JavaScript MIME type so it can be imported through a <script> tag.

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

Vendor (https://github.com/mantisbt/mantisbt) PRIMARY 7.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
vuln.today AI 7.6 HIGH

Authenticated uploader (PR:L) and victim must open the link (UI:R); XSS executing in another user's session crosses a trust boundary (S:C) with high confidentiality (session/token theft) and limited integrity impact.

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

Primary rating from Vendor (https://github.com/mantisbt/mantisbt).

CVSS VectorVendor: https://github.com/mantisbt/mantisbt

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

Lifecycle Timeline

3
CVSS changed
May 28, 2026 - 21:22 NVD
7.5 (HIGH)
CVE Published
May 11, 2026 - 19:40 cve.org
HIGH 7.5
CVE Published
May 11, 2026 - 19:40 nvd
HIGH

DescriptionCVE.org

Using *show_inline=1* parameter and a valid *file_show_inline_token* CSRF token on file_download.php, an attacker can execute code by uploading a crafted XHTML attachment referencing a JavaScript attachment.

Impact

Cross-site scripting

Patches

  • 26647b2e68ba30b9d7987d4e03d7a16416684bc2

Workarounds

None

Credits

Thanks to siunam (Tang Cheuk Hei) for discovering and responsibly reporting the issue.

Executive ViewAI

Why It Matters

MantisBT versions before 2.28.2 contain a stored cross-site scripting vulnerability allowing authenticated users to upload malicious attachments that execute arbitrary JavaScript in the browsers of other users who access them. This creates risk of account compromise, credential theft, and unauthorized data modification across any organization using affected MantisBT instances. While a patch is available and active exploitation is not currently documented, the vulnerability affects the integrity and confidentiality of project management data accessible to all users.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Prevalence
Medium
widely-used open-source bug tracker, common but not ubiquitous in enterprises
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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