VDB

CVE-2026-50159

CVE-2026-50159 PUBLISHED CVSS 5.3 MEDIUM

Reported by GitHub_M · Published August 6, 2026

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 is vulnerable to CSS injection via sibling combinator selectors generated from diagram-supplied class or id names. An attacker who can supply diagram text can inject arbitrary CSS into the rendered page, potentially altering the appearance or behavior of unrelated page elements. This issue is fixed in versions 10.9.8 and 11.16.1.

Risk Scores

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

Affected Products

VendorProductVersions
mermaid-jsmermaid< 10.9.8, >= 11.0.0-alpha.1, < 11.16.1
chainguardlangfuse-30, 0, 0
chainguardgitlab-rails-ce-fips-19.00
wolfijupyter-base-notebook0, 0
chainguardgitlab-rails-ce-fips-19.20, 0, 0
chainguardtensorflow-gpu-jupyter0
wolfilangfuse-30, 0, 0
chainguardlangfuse-40, 0, 0
chainguardlangfuse-fips-30, 0, 0
chainguardgitlab-rails-ce-fips-18.100
chainguardgitlab-rails-ce-fips-18.110
chainguardgitlab-rails-ce-19.20, 0, 0
npmmermaid11.0.0-alpha.1, 0
chainguardcommercial-gitlab-rails-ee-19.10
chainguardlangfuse-fips-20, 0, 0
mermaid-jsmermaid>= 11.0.0-alpha.1, < 11.16.1, < 10.9.8, >= 11.0.0-alpha.1, < 11.16.1
chainguardlangfuse-20, 0, 0
chainguardjupyter-base-notebook0
chainguardgitlab-rails-ce-fips-19.30, 0, 0
chainguardgitlab-rails-ce-fips-18.90

…and 3 more

Timeline

  • Aug 6, 2026 CVE Published
  • Aug 7, 2026 EPSS Score
  • Aug 7, 2026 Coalition ESS Score
  • Aug 9, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score
  • Aug 26, 2026 EPSS Score
  • Aug 28, 2026 EPSS Score
  • Aug 30, 2026 EPSS Score
  • Sep 3, 2026 EPSS Score
  • Sep 5, 2026 EPSS Score
  • Sep 6, 2026 EPSS Score
  • Sep 9, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 50/day Open console ›