medium5.3
CVE-2026-129484
Kroki before 0.36.0 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts via unvalidated svg-color-d…
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products · Yuzutech
| Product | Affected versions |
|---|---|
| Kroki | before 0.36.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/yuzutech/kroki/security/advisories/GHSA-xp94-px2v-f7f2
- https://github.com/yuzutech/kroki/commit/a0a1435cc38eb7b258c555a883b7687424ad6784
- https://github.com/yuzutech/kroki/releases/tag/v0.36.0
- https://github.com/yuzutech/kroki/blob/v0.35.0/server/src/main/java/io/kroki/server/service/Goat.java#L61-L71
- https://www.vulncheck.com/advisories/kroki-before-0.36.0-reflected-xss-via-goat-svg-color-scheme-options
- https://github.com/advisories/GHSA-3596-jrj6-mf2p
- https://nvd.nist.gov/vuln/detail/CVE-2026-129484