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.
https://github.com/yuzutech/kroki/security/advisories/GHSA-xp94-px2v-f7f2
https://github.com/yuzutech/kroki/releases/tag/v0.36.0
https://github.com/yuzutech/kroki/commit/a0a1435cc38eb7b258c555a883b7687424ad6784