{"vuln_id":"CVE-2026-77346","aliases":["GHSA-p2c5-qmq5-3r4f"],"description":"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.","published_at":"2026-11-20T19:18:54.610000Z","modified_at":"2026-11-20T19:18:54.610000Z","first_seen_at":"2026-11-21T19:15:51.400698Z","severity":"medium","severity_source":"nvd","cvss_score":6.3,"cvss_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/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","cwe":["CWE-79"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00603,"epss_percentile":0.49796,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-77346"},"matched_alias":null,"items":[{"id":10002,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-77346: 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 suffic…","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.\n\nReferences:\nhttps://github.com/sc2in/pozeiden/commit/b11a4cf403ec818e47d8246ed7a034f721cc6ace\nhttps://github.com/sc2in/pozeiden/releases/tag/v0.3.0\nhttps://github.com/sc2in/pozeiden/security/advisories/GHSA-p2c5-qmq5-3r4f","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77346","published_at":"2026-11-20T19:18:54.610000Z","updated_at":"2026-11-20T19:18:54.610000Z","fetched_at":"2026-11-21T19:15:31.485486Z","severity":"medium","cvss_score":6.3,"epss":0.00603,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-77346","vuln_ids":["CVE-2026-77346","GHSA-P2C5-QMQ5-3R4F"],"tags":["CWE-79"],"cluster_id":10023,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10002","html":"https://vulnwatch.ve1ve2.com/item/10002"}}]}