SCA: security update for mermaid (GHSA-c4c3-pg64-4m4v)

low Tenable Cloud Security Plugin ID 445782

Description

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

- Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts.
Prior to 10.9.8 and 11.16.1, Mermaid's configuration setters (mermaid.initialize, mermaidAPI.setConfig,
and mermaidAPI.updateSiteConfig) merge caller-supplied configuration into Mermaid's internal config using
the assignWithDepth deep-merge helper, which is vulnerable to prototype pollution. This is only
exploitable if an application forwards untrusted data directly into one of these configuration entry
points, which is outside their documented usage; diagram-supplied configuration (e.g. %%{init: {}}%% or
YAML frontmatter) is not affected. This issue is fixed in versions 10.9.8 and 11.16.1. (CVE-2026-71438)

Solution

Update the mermaid library and its related packages to version 10.9.8 or later.

See Also

https://github.com/advisories/GHSA-c4c3-pg64-4m4v

Plugin Details

Severity: Low

ID: 445782

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/7/2026

Updated: 8/7/2026

Risk Information

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-71438

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

CVSS v4

Risk Factor: Low

Base Score: 2.4

Threat Score: 0.5

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/6/2026

Vulnerability Publication Date: 8/6/2026

Reference Information

CVE: CVE-2026-71438