Kroki before 0.36.0 Reflected XSS via /goat/svg Color Scheme Options
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 15, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 15, 2026
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.
| Product | Versions |
|---|---|
| kroki yuzutech | before 0.36.0 Affected0.36.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-xp94-px2v-f7f2)Vendor Advisory
- https://github.com/yuzutech/kroki/commit/a0a1435cc38eb7b258c555a883b7687424ad6784Patch
- kroki v0.36.0 Release NotesRelease Notes
- https://github.com/yuzutech/kroki/blob/v0.35.0/server/src/main/java/io/kroki/server/service/Goat.java#L61-L71Technical Details
- VulnCheck Advisory: Kroki before 0.36.0 Reflected XSS via /goat/svg Color Scheme OptionsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.