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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| yuzutech | kroki | < 0.36.0 |
References
- https://github.com/yuzutech/kroki/blob/v0.35.0/dbml/index.js#L13
- https://github.com/yuzutech/kroki/commit/b57e1bdc39df9521b249db0dbd56c5e0a8b7e33d
- https://github.com/yuzutech/kroki/releases/tag/v0.36.0
- https://github.com/yuzutech/kroki/security/advisories/GHSA-fr36-wcx2-7gfq
- https://www.vulncheck.com/advisories/kroki-before-0.36.0-reflected-xss-via-dbml-table-urls
- https://github.com/yuzutech/kroki/security/advisories/GHSA-fr36-wcx2-7gfq
Timeline
- Published
- Nov 14, 2026
- Last modified
- Nov 16, 2026
- NVD status
- Deferred