PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-71438 mermaid-js CVE debrief

CVE-2026-71438 is a low-severity vulnerability in the Mermaid JavaScript tool, which can lead to prototype pollution if untrusted data is directly forwarded into specific configuration entry points. This issue, fixed in versions 10.9.8 and 11.16.1, primarily affects applications using Mermaid's configuration setters with untrusted input. The vulnerability arises from the assignWithDepth deep-merge helper used in Mermaid's configuration setters, which can be exploited if applications forward untrusted data directly into these configuration entry points.

Vendor
mermaid-js
Product
mermaid
CVSS
LOW 2.4
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-06
Original CVE updated
2026-09-08
Advisory published
2026-08-06
Advisory updated
2026-09-08

Who should care

Defenders and developers using Mermaid in applications with untrusted input should assess exposure and prioritize updates to versions 10.9.8 or 11.16.1. They should review application usage of Mermaid's configuration setters and ensure untrusted data is not directly forwarded into configuration entry points. Additionally, they should verify Mermaid version and review compensating controls for exposed systems while remediation is scheduled and verified.

Why it matters

CVE-2026-71438 is a low-severity vulnerability in Mermaid that can lead to prototype pollution. Defenders should verify Mermaid versions, review configuration usage, and update to versions 10.9.8 or 11.16.1 if necessary.

  • Verification of Mermaid version and configuration usage is necessary
  • Potential for prototype pollution if untrusted data is used with configuration setters
  • Remediation priority for applications using affected Mermaid versions
  • Limited evidence on exploitation, requiring further verification

Technical summary

Mermaid's configuration setters are vulnerable to prototype pollution due to the assignWithDepth deep-merge helper. This issue is exploitable if applications forward untrusted data directly into these configuration entry points. The vulnerability can lead to prototype pollution, which can have security implications if not properly mitigated. The issue is fixed in versions 10.9.8 and 11.16.1, and defenders should prioritize verifying and updating Mermaid to these versions, especially if applications use configuration setters with untrusted data.

Defensive priority

Defenders should prioritize verifying and updating Mermaid to versions 10.9.8 or 11.16.1, especially if applications use configuration setters with untrusted data.

Recommended defensive actions

  • Verify Mermaid version and update to 10.9.8 or 11.16.1 if necessary
  • Review application usage of Mermaid's configuration setters
  • Ensure untrusted data is not directly forwarded into configuration entry points
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is caused by the assignWithDepth deep-merge helper used in Mermaid's configuration setters. Evidence is based on official CVE and source records. The issue is 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.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-71438 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-71438

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-71438 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-71438

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.