CVE-2026-77346
Pozeiden stored XSS in SVG output from diagram rendering
A low-privileged user can store SVG that runs script in another user's browser when they view a published page.
Texto original en inglés · Ver en español
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
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-77346 divulgada · CVSS 6.3 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Pozeiden, a MermaidJS renderer from sc2in, does not escape attacker-controlled Mermaid values in the SVG it generates. A user with low-level login access can reach this remotely over the network and store SVG that runs script when another user views the published HTML page, which requires that user to take an action.
Descripción original del registro (GitHub_M)
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pozeiden |
Corregida | 0.3.0 | — | — |
0.3.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/sc2in/pozeiden/security/advisories/GHSA-p2c5-qmq5-3r4fhttps://github.com/sc2in/pozeiden/commit/b11a4cf403ec818e47d8246ed7a034f721cc6acehttps://github.com/sc2in/pozeiden/releases/tag/v0.3.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
