{"id":"CVE-2026-77346","aliases":["CVE-2026-77346"],"related":[],"kind":"vulnerability","state":"published","title":"Pozeiden: SVG output injection (stored XSS) via click href, style/classDef colors, %%{init}%% theme variables, and quadrant labels","summary":"Pozeiden is a MermaidJS renderer written in Zig. Prior to 0.3.0, Pozeiden emits attacker-controlled Mermaid values into SVG attributes or markup without sufficient XML escaping or URL scheme validation, and first-party consumers such as zigmark and policypress embed the generated SVG raw into HTML. The click href syntax can introduce a dangerous URL scheme or break out of an attribute; style, classDef, ::: class assignment, and linkStyle color values can inject fill or stroke markup; color and font-weight values can escape text attributes; %%{init}%% themeVariables can inject global renderer attributes; and quadrant y-axis labels can introduce raw markup. These paths involve src/svg/writer.zig, src/renderers/flowchart.zig, src/renderers/quadrant.zig, and src/root.zig. An attacker who can influence rendered Mermaid source can therefore store script-bearing SVG that executes when another user views the published HTML. This issue is fixed in version 0.3.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Pozeiden is a MermaidJS renderer written in Zig. Prior to 0.3.0, Pozeiden emits attacker-controlled Mermaid values into SVG attributes or markup without sufficient XML escaping or URL scheme validation, and first-party consumers such as zigmark and policypress embed the generated SVG raw into HTML. The click href syntax can introduce a dangerous URL scheme or break out of an attribute; style, classDef, ::: class assignment, and linkStyle color values can inject fill or stroke markup; color and font-weight values can escape text attributes; %%{init}%% themeVariables can inject global renderer attributes; and quadrant y-axis labels can introduce raw markup. These paths involve src/svg/writer.zig, src/renderers/flowchart.zig, src/renderers/quadrant.zig, and src/root.zig. An attacker who can influence rendered Mermaid source can therefore store script-bearing SVG that executes when another user views the published HTML. This issue is fixed in version 0.3.0.","source":"cvelist"}],"published":"2026-11-20T18:12:15.809Z","modified":"2026-11-24T01:17:35.493Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 0.3.0","status":"affected"}],"vendor":"sc2in","product":"pozeiden","source":"cvelist"}],"references":[{"url":"https://github.com/sc2in/pozeiden/security/advisories/GHSA-p2c5-qmq5-3r4f","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sc2in/pozeiden/commit/b11a4cf403ec818e47d8246ed7a034f721cc6ace","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sc2in/pozeiden/releases/tag/v0.3.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-24T00:22:35.894Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-77346","url":"https://www.cve.org/CVERecord?id=CVE-2026-77346","licence":"CVE Terms of Use","modified":"2026-11-24T00:54:06.033Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-77346","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77346","licence":"Public domain","modified":"2026-11-24T01:17:35.493Z"}],"updatedAt":"2026-11-25T22:59:52.459Z","epss":{"score":0.00736,"percentile":0.55694,"date":"2026-12-01T12:00:22.000Z"}}