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

Read the record on cve.org

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.

ProductVersions
kroki yuzutechbefore 0.36.0 Affected0.36.0 Not Affected

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

References

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.