XSS in Yuzutech Kroki
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-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.
Vulnerability class: XSS (Cross-Site Scripting)
Published .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/yuzutech/kroki/security/advisories/GHSA-xp94-px2v-f7f2 (vendor-advisory)
- github.com/yuzutech/kroki/commit/a0a1435cc38eb7b258c555a883b7687424ad6784 (patch)
- github.com/yuzutech/kroki/releases/tag/v0.36.0 (release-notes)
- github.com/yuzutech/kroki/blob/v0.35.0/server/src/main/java/io/kroki/server/ser… (technical-description)
- www.vulncheck.com/advisories/kroki-before-0.36.0-reflected-xss-via-goat-svg-col… (third-party-advisory)