Read the docs

Reflected cross-site scripting in Kroki via DBML table URLs

Priority MEDIUM 57CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

Kroki before 0.36.0 contains a reflected cross-site scripting flaw in the /dbml/svg endpoint, where the input is not neutralized before it is written into the page (CWE-79). An unauthenticated remote attacker can inject javascript: hyperlinks through crafted DBML table url, headercolor, or TableGroup color settings. A user who opens a crafted SVG link and clicks the table header runs attacker JavaScript in the Kroki origin.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00215 12th percentileScored 2026-11-16
Fix Fixed kroki (yuzutech): 0.36.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
yuzutechkrokibefore 0.36.00.36.0Patch availableCNA
  • kroki Vendoryuzutech Affected before 0.36.0 Fixed in 0.36.0 Patch available CNA

Remediation

Update yuzutech kroki to version 0.36.0, which fixes the flaw. The sources list no fixed version for other products.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA kroki (yuzutech) Fixed in 0.36.0

Timeline

  1. 2026-11-14 Threatist record created from CVE-2026-129447
  2. 2026-11-14 Alias added: GHSA-r7q7-fpwp-8f26
  3. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2026-86047 Kroki: TikZ Secure Mode Local File Read via LaTeX File I/O Primitives CVSS 3.1HIGH 7.5
  • TI-2026-91962 Server-side request forgery in Kroki BlockDiag icon and background attributes CVSS 4.0MEDIUM 6.9
  • TI-2025-13586 due to insufficient sanitazation in Vega’s `convert()` function when `safeMode` is… CVSS 4.0HIGH 8.7
  • TI-2026-91961 Reflected cross-site scripting in Kroki via /goat/svg color scheme options CVSS 4.0MEDIUM 5.3
  • TI-2026-86048 Server-side request forgery in Kroki Mermaid companion via image URLs CVSS 3.1MEDIUM 5.0

Sources