Description
Kroki before 0.36.0 contains a reflected cross-site scripting vulnerability in the /dbml/svg endpoint that allows unauthenticated attackers to inject javascript: hyperlinks by supplying crafted DBML table url, headercolor, or TableGroup color settings. Attackers can send a crafted SVG link that, when opened and the table header clicked, executes attacker JavaScript in the Kroki origin.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| yuzutech | kroki | 0 <0.36.0 | — |
References
- https://github.com/yuzutech/kroki/security/advisories/GHSA-fr36-wcx2-7gfq
- https://github.com/yuzutech/kroki/commit/b57e1bdc39df9521b249db0dbd56c5e0a8b7e33d
- https://github.com/yuzutech/kroki/releases/tag/v0.36.0
- https://github.com/yuzutech/kroki/blob/v0.35.0/dbml/index.js#L13
- https://www.vulncheck.com/advisories/kroki-before-0.36.0-reflected-xss-via-dbml-table-urls