Reflected cross-site scripting in Kroki via /goat/svg color scheme options
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
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
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
- 2026-11-15 Threatist record created from CVE-2026-129484
- 2026-11-15 Alias added: GHSA-3596-jrj6-mf2p
- 2026-11-16 CISA SSVC decision points changed
References
More yuzutech vulnerabilities
- 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
- CVE-2026-129484 · CVE Program
- CVE-2026-129484 · NVD
- FIRST EPSS
- GHSA-3596-jrj6-mf2p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences