Saltar al contenido
DayZeroHub
Media Sin redactarCVSS 6.3CVE-2026-77346

CVE-2026-77346: Pozeiden: SVG output injection (stored XSS) via click href, style/classDef colors, %%{init}%% theme variables, and quadrant labels

sc2in pozeiden

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-77346: vulnerabilidad de severidad media (CVSS 6.3) en sc2in pozeiden.

Qué ocurre

Descripción original de la fuente (en inglés): 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.

Por qué importa

Severidad media, CVSS 6.3.

Productos y versiones afectados

sc2in pozeiden < 0.3.0

ProductoVersionesCorregido en
sc2in pozeiden< 0.3.0—

Acción recomendada por la fuente

Consultá las referencias oficiales para conocer la corrección o mitigación.

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-79

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.