{"id":"EUVD-2026-7382","revision":"325b2cde19f747d48db1d46563492e76","records":[{"revision":"325b2cde19f747d48db1d46563492e76","observedAt":"2026-11-01T04:05:39.585+00:00","statement":{"source":"euvd","id":"EUVD-2026-7382","aliases":["CVE-2026-26226","GHSA-cgmm-x5ww-q5cr"],"title":"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 direc…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"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","score":5.3,"severity":null}],"references":["https://github.com/lukilabs/beautiful-mermaid/releases/tag/v0.1.3","https://github.com/lukilabs/beautiful-mermaid/pull/8","https://neo.projectdiscovery.io/share/cec71dc7-a8eb-417e-b8b4-666644796c1e","https://www.vulncheck.com/advisories/beautiful-mermaid-svg-attribute-injection"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-7382","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 13, 2026, 4:35:06 PM","dateUpdated":"Oct 8, 2026, 3:22:20 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-7382","identifiers":["EUVD-2026-7382","CVE-2026-26226","GHSA-cgmm-x5ww-q5cr"]},"retained":false,"historicalAffected":[]}],"coverage":[]}