Description
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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| yuzutech | kroki | < 0.36.0 |
References
- https://github.com/yuzutech/kroki/blob/v0.35.0/server/src/main/java/io/kroki/server/service/Goat.java#L61-L71
- https://github.com/yuzutech/kroki/commit/a0a1435cc38eb7b258c555a883b7687424ad6784
- https://github.com/yuzutech/kroki/releases/tag/v0.36.0
- https://github.com/yuzutech/kroki/security/advisories/GHSA-xp94-px2v-f7f2
- https://www.vulncheck.com/advisories/kroki-before-0.36.0-reflected-xss-via-goat-svg-color-scheme-options
Timeline
- Published
- Nov 15, 2026
- Last modified
- Nov 16, 2026
- NVD status
- Deferred