CVE-2026-26226Disclosure

LOWCVSS 5.3 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

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.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-79

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

STABLE

Threat summary

  • 3 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Technical details provided in 3 signals
  • Disclosure: 3 classified signals
  • Peaked 1d ago at 2 mentions (2026-02-13); latest day: 1
  • 3 total mentions across 2 days

Deep dive

Activity timeline3 mentions / 2d
01122Mentions · 2026-02-13: 2Mentions · 2026-02-14: 1Technical Details · 2026-02-13: 2Technical Details · 2026-02-14: 102-1302-14
Signal classification1 categories
Disclosure
3100.0%
Referenced assets3 URLs
Classification over time
DateTotalLabels
2026-02-132
Disclosure2
2026-02-141
Disclosure1
Full discourse3 posts
  • Vulmon Vulnerability Feed@VulmonFeeds
    Disclosure

    CVE-2026-26226 SVG Attribute Injection XSS in beautiful-mermaid Versions Below 0.1.3 https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-26226

    Post summary

    A new XSS vulnerability (CVE-2026-26226) was disclosed for beautiful-mermaid versions below 0.1.3, enabling SVG attribute injection.

    0001030
    4.0K followersView on X
  • cvereports@_cvereports
    Disclosure

    CVE-2026-26226: Siren Song: XSS via Attribute Injection in Beautiful Mermaid A classic case of 'trust but don't verify' in the `beautiful-mermaid` npm package allows attackers to turn harmless flowcharts into weaponized vectors for Cross-Site Scriptin... https://cvereports.com/reports/CVE-2026-26226

    Post summary

    A new XSS vulnerability (CVE‑2026‑26226) in the beautiful‑mermaid npm package has been disclosed, allowing attackers to inject malicious scripts via attribute injection.

    0000030
    26 followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-26226 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 Merm… https://www.cve.org/CVERecord?id=CVE-2026-26226

    Post summary

    CVE-2026-26226 describes an SVG attribute injection flaw in beautiful‑mermaid prior to 0.1.3 that can result in cross‑site scripting when rendering attacker‑controlled input.

    00000207
    56.5K followersView on X

Explore more