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.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| yuzutech | kroki | 0 to <0.36.0 [affected]; 0.36.0 [unaffected] |
References
- https://github.com/yuzutech/kroki/security/advisories/GHSA-fr36-wcx2-7gfq (vendor-advisory)
- https://github.com/yuzutech/kroki/commit/b57e1bdc39df9521b249db0dbd56c5e0a8b7e33d (patch)
- https://github.com/yuzutech/kroki/releases/tag/v0.36.0 (release-notes)
- https://github.com/yuzutech/kroki/blob/v0.35.0/dbml/index.js#L13 (technical-description)
- https://www.vulncheck.com/advisories/kroki-before-0.36.0-reflected-xss-via-dbml-table-urls (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 15 Nov 2026 08:05 UTC.