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…
- CVSS
- 6.3Medium
- Chance of exploitation (EPSS)
- 0.74%
- Published
- Nov 20, 2026
- In the news
- Not yet
What to do
A moderate cross-site scripting flaw in Sc2in Pozeiden that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Sc2in Pozeiden
- < 0.3.0
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-77346 published (CVSS 6.3) (Nov 20, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Nov 20, 2026
- CVECVE-2026-77346 published (CVSS 6.3)CVE Program · 19:18 UTC
References 3
- github.com /sc2in/pozeiden/commit/b11a4cf403ec818e47d8246ed7a034f721cc6ace
- github.com /sc2in/pozeiden/releases/tag/v0.3.0
- github.com /sc2in/pozeiden/security/advisories/GHSA-p2c5-qmq5-3r4f