Read the docs

Reflected cross-site scripting in Kroki via /goat/svg color scheme options

Priority LOW 29CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

Kroki before 0.36.0, an open-source diagram rendering service by yuzutech, contains a reflected cross-site scripting flaw in its /goat/svg endpoint. The svg-color-dark-scheme and svg-color-light-scheme options are not validated, so a value can close the SVG style element and inject markup. An unauthenticated attacker can craft a GET /goat/svg URL, and when a victim opens it, JavaScript runs in the Kroki origin.

Written with Claude Haiku 5.5 from the sources below · 2026-11-15

Description from the CNA

Kroki before 0.36.0 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts via unvalidated svg-color-dark-scheme and svg-color-light-scheme options. Attackers can craft a GET /goat/svg URL whose option value closes the SVG style element, executing JavaScript in the Kroki origin when victims open it.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00211 11th percentileScored 2026-11-16
Fix Fixed kroki (yuzutech): 0.36.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
yuzutechkrokibefore 0.36.00.36.0Patch availableCNA
  • kroki Vendoryuzutech Affected before 0.36.0 Fixed in 0.36.0 Patch available CNA

Remediation

Upgrade yuzutech Kroki to version 0.36.0, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-15

  • Fix · CNA kroki (yuzutech) Fixed in 0.36.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    yuzutech kroki 0.36.0

    2 records Highest priority Priority HIGH 1 HIGH, 1 LOW

    Other records, highest priority first

    • TI-2026-91962 Server-side request forgery in Kroki BlockDiag icon and background attributesPriority HIGH 70

Timeline

  1. 2026-11-15 Threatist record created from CVE-2026-129484
  2. 2026-11-15 Alias added: GHSA-3596-jrj6-mf2p
  3. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2026-86047 Kroki: TikZ Secure Mode Local File Read via LaTeX File I/O Primitives CVSS 3.1HIGH 7.5
  • TI-2026-91962 Server-side request forgery in Kroki BlockDiag icon and background attributes CVSS 4.0MEDIUM 6.9
  • TI-2026-91882 Reflected cross-site scripting in Kroki via DBML table URLs CVSS 4.0MEDIUM 5.3
  • TI-2025-13586 due to insufficient sanitazation in Vega’s `convert()` function when `safeMode` is… CVSS 4.0HIGH 8.7
  • TI-2026-86048 Server-side request forgery in Kroki Mermaid companion via image URLs CVSS 3.1MEDIUM 5.0

Sources