SCA: security update for beautiful-mermaid (GHSA-cgmm-x5ww-q5cr)

medium Tenable Cloud Security Plugin ID 437725

Description

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

- beautiful-mermaid versions prior to 0.1.3 contain an SVG attribute injection issue that can lead to cross-
site scripting (XSS) when rendering attacker-controlled Mermaid diagrams. User-controlled values from
Mermaid style and classDef directives are interpolated into SVG attribute values without proper escaping,
allowing crafted input to break out of an attribute context and inject arbitrary SVG elements/attributes
into the rendered output. When the generated SVG is embedded in a web page, this can result in script
execution in the context of the embedding origin. (CVE-2026-26226)

See Also

https://github.com/advisories/GHSA-cgmm-x5ww-q5cr

Plugin Details

Severity: Medium

ID: 437725

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 2/14/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.42

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2026-26226

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/13/2026

Vulnerability Publication Date: 2/13/2026

Reference Information

CVE: CVE-2026-26226

cwe: CWE-79