Vulnerability in Pozeiden MermaidJS Renderer Affects Zig Products
CVE-2026-77346
6.3MEDIUM
What is CVE-2026-77346?
Pozeiden, a MermaidJS renderer built in Zig, contains a flaw that permits the injection of attacker-controlled values into SVG attributes and markup. Prior to version 0.3.0, the application fails to properly escape XML or validate URL schemes, allowing malicious actors to embed potentially harmful SVGs into HTML. This can lead to the creation of script-bearing SVGs that execute in the browsers of unsuspecting users. Critical paths in the code that expose this vulnerability include functions across src/svg/writer.zig, src/renderers/flowchart.zig, src/renderers/quadrant.zig, and src/root.zig. Users are advised to upgrade to version 0.3.0 to mitigate this risk.
Affected Version(s)
pozeiden < 0.3.0
