CVE-2026-26226
Last modified
CVE-2026-26226 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.51% chance of exploitation in the next 30 days.
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.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-26226?
How severe is CVE-2026-26226?
How do I fix CVE-2026-26226?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-26220LightLLM version 1.1.0 and prior contain an unauthenticated …9.3
- CVE-2026-26221Hyland OnBase contains an unauthenticated .NET Remoting expo…9.8
- CVE-2026-26222Altec DocLink (now maintained by Beyond Limits Inc.) version…9.8
- CVE-2026-26223SPIP before 4.4.8 allows cross-site scripting (XSS) in the p…6.1
- CVE-2026-26224Intego Log Reporter, a macOS diagnostic utility bundled with…8.5
- CVE-2026-26225Intego Personal Backup, a macOS backup utility that allows u…8.5
- CVE-2026-26227VideoLAN VLC for Android prior to version 3.7.0 contains an …6.3
- CVE-2026-26228VideoLAN VLC for Android prior to version 3.7.0 contains a p…4.9
- CVE-2026-26229Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-2623A flaw has been found in Blossom up to 1.17.1. This issue af…8.8
- CVE-2026-26230Mattermost versions 10.11.x <= 10.11.10 fail to properly val…3.8
- CVE-2026-26231Gitea versions up to and including 1.26.1 allow the Allow ed…8.5
Are you affected by CVE-2026-26226?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
