Skip to main content

MantisBT CVE-2026-44657

| EUVDEUVD-2026-33023 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
Share

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Privileges Required
Low
User Interaction
P
Scope
X

Lifecycle Timeline

5
Source Code Evidence Fetched
Jul 23, 2026 - 23:44 vuln.today
Analysis Generated
Jul 23, 2026 - 23:44 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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).

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

Share

CVE-2026-44657 vulnerability details – vuln.today

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