SCA: security update for mantisbt/mantisbt (GHSA-9c3j-xm6v-j7j3)

high Tenable Self-Hosted Container Security Plugin ID 441752

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Mantis Bug Tracker (MantisBT) is an open source issue tracker. In versions 2.28.1 and below, given any
pre-existing XSS / HTML injection vulnerability, an attacker can bypass the Content Security Policy's
script-src directive by uploading a crafted attachment to any issue that, when accessed via the
file_download.php link, will be downloaded with a valid JavaScript MIME type resulting in script
execution. The uploaded payload must be sniffed as a valid JavaScript MIME type by PHP finfo (see
file_create_finfo() API function). Non-JavaScript MIME types will not get imported in a <script> tag by
the browser, due to response header X-Content-Type-Options being set to nosniff, which requires all
imported JavaScript files to be a valid JavaScript MIME type. This issue has been fixed in version 2.28.2.
(CVE-2026-40597)

Solution

Update the mantisbt/mantisbt library and its related packages to version 2.28.2 or later.

See Also

https://github.com/advisories/GHSA-9c3j-xm6v-j7j3

Plugin Details

Severity: High

ID: 441752

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 5/12/2026

Updated: 5/27/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.4

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2026-40597

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.6

Threat Score: 5

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/11/2026

Vulnerability Publication Date: 5/11/2026

Reference Information

CVE: CVE-2026-40597