Kroki before 0.36.0 Reflected XSS via /goat/svg Color Scheme Options
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| yuzutechkroki |
< 0.36.0→ 0.36.0 |
0.36.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com