Vulnerability in Pozeiden MermaidJS Renderer Affects Zig Products
CVE-2026-77346

6.3MEDIUM

Key Information:

Vendor

Sc2in

Status
Vendor
CVE Published:
20 November 2026

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

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.