Skip to main content

Kroki

5 CVEs product

Monthly

Threat Model
CVE-2026-102359 Nov 06, 17:36 HIGH POC PATCH This Week

Unauthenticated local file read in Kroki's TikZ backend (all versions prior to 0.31.2) lets a remote attacker submit crafted LaTeX to POST /tikz/svg or the generic diagram API and receive the contents of any file readable by the container user rendered back inside the returned SVG. The secure-mode guard only blocked \verbatiminput, leaving native TeX file primitives (\openin/\read, \input, \include) unrestricted while TeX Live's default openin_any=a keeps absolute path reads permitted, so the shipped Docker defaults are exploitable with no special configuration. A public proof-of-concept has been demonstrated against the official yuzutech/kroki:0.31.1 image, extracting /etc/passwd signatures from the SVG response; -no-shell-escape prevents \write18 shell execution, so the impact is read-only disclosure (mounted secrets, config files, private keys, /proc/self/environ) rather than code execution, and instances upgraded to 0.31.2 are not exploitable.

Path Traversal Kroki
NVD GitHub
CVSS 3.1
7.5
EPSS
0.4%
CVE-2026-129484 Nov 15, 15:33 MEDIUM POC PATCH This Month

Reflected cross-site scripting in the Kroki diagram server's GoAT SVG renderer (all versions up to and including 0.35.0) lets unauthenticated remote attackers execute JavaScript in the Kroki origin by supplying a crafted `svg-color-dark-scheme` or `svg-color-light-scheme` query parameter to a GET `/goat/svg` URL. Because those option values are interpolated verbatim into an SVG `<style>` element, a value containing `</style><script>...</script>` breaks out of the CSS and injects an executable script; the victim must open the crafted link (or load it in an iframe/object context), and the same SVG does not execute when loaded through an `<img>` element. The vendor security advisory includes a detailed, reproducible proof-of-concept against the stock 0.35.0 Docker image; no confirmed active exploitation or CISA KEV listing is known, and the issue is rated moderate severity with user interaction required.

XSS Kroki
NVD GitHub VulDB
CVSS 4.0
5.3
EPSS
0.2%
CVE-2026-129485 Nov 15, 15:33 MEDIUM PATCH This Month

Kroki 0.35.0 and earlier lets remote attackers make the server issue arbitrary HTTP requests and read local image files through the BlockDiag family of diagram engines (blockdiag, seqdiag, actdiag, nwdiag, packetdiag, rackdiag). A crafted diagram posted to /blockdiag/svg or a sibling endpoint with a node `icon` or `background` set to a URL causes the BlockDiag binary to fetch that URL, and when the target returns an image its bytes are embedded base64-encoded in the rendered SVG returned to the caller; a local path in the same attributes is read with open() and likewise embedded. No authentication, user interaction or non-default configuration is required - the advisory confirms the default KROKI_SAFE_MODE=secure never gated this binary - so any instance reachable on a BlockDiag route is exposed to internal service and cloud metadata probing, read-back only where the target returns an image, and read of local image files readable by the Kroki process. A proof of concept is documented and was reproduced against the 0.33.0 standalone server jar; the issue is fixed in 0.36.0, and no CISA KEV listing exists.

SSRF Kroki
NVD GitHub VulDB
CVSS 4.0
6.9
EPSS
0.3%
CVE-2026-129447 Nov 14, 17:37 MEDIUM PATCH This Month

Reflected cross-site scripting in Kroki's /dbml/svg endpoint before 0.36.0 allows unauthenticated attackers to craft a DBML diagram whose table header link uses a javascript: scheme, so a victim who opens the generated SVG and clicks the header runs attacker script in the Kroki origin. The same link injection is reachable through table headercolor and TableGroup color settings, and the impact is bounded by what the serving origin exposes. Kroki 0.36.0 fixes the issue by removing links with non-http/https/mailto schemes and adding a restrictive CSP; a reproducible public proof-of-concept is documented in the vendor advisory, and no CISA KEV entry or EPSS score is supplied.

XSS Kroki
NVD GitHub VulDB
CVSS 4.0
5.3
EPSS
0.2%
CVE-2026-102356 Nov 06, 17:38 MEDIUM PATCH This Month

Server-side request forgery in Kroki's optional Mermaid companion lets anyone who can submit Mermaid source cause the headless Chromium renderer to issue outbound HTTP or HTTPS GET requests, even when KROKI_SAFE_MODE is set to secure - a PNG-only path, reachable since the Mermaid 11.4.0 bundled in Kroki 0.26.0 introduced flowchart image nodes. Affected deployments run io.kroki:kroki-server 0.26.0 through 0.31.1 together with the yuzutech/kroki-mermaid companion; the submitter must satisfy whatever authentication the deployment configures (CVSS PR:L) and can only reach hosts already reachable from the companion container. The vendor advisory demonstrates outbound request reachability and possible triggering of state-changing GET endpoints; response exfiltration, cloud metadata access and port scanning are not established. This is a genuine but moderate-priority issue rather than a drop-everything emergency: no public exploit code is identified at time of analysis (the advisory does include a marker-host verification recipe), it is not in CISA KEV, and the vendor-released patch is version 0.31.2.

Google SSRF Mermaid Kroki
NVD GitHub
CVSS 3.1
5.0
EPSS
0.2%
Threat Model
EPSS 0% CVSS 7.5
HIGH POC PATCH This Week

Unauthenticated local file read in Kroki's TikZ backend (all versions prior to 0.31.2) lets a remote attacker submit crafted LaTeX to POST /tikz/svg or the generic diagram API and receive the contents of any file readable by the container user rendered back inside the returned SVG. The secure-mode guard only blocked \verbatiminput, leaving native TeX file primitives (\openin/\read, \input, \include) unrestricted while TeX Live's default openin_any=a keeps absolute path reads permitted, so the shipped Docker defaults are exploitable with no special configuration. A public proof-of-concept has been demonstrated against the official yuzutech/kroki:0.31.1 image, extracting /etc/passwd signatures from the SVG response; -no-shell-escape prevents \write18 shell execution, so the impact is read-only disclosure (mounted secrets, config files, private keys, /proc/self/environ) rather than code execution, and instances upgraded to 0.31.2 are not exploitable.

Path Traversal Kroki
NVD GitHub
EPSS 0% CVSS 5.3
MEDIUM POC PATCH This Month

Reflected cross-site scripting in the Kroki diagram server's GoAT SVG renderer (all versions up to and including 0.35.0) lets unauthenticated remote attackers execute JavaScript in the Kroki origin by supplying a crafted `svg-color-dark-scheme` or `svg-color-light-scheme` query parameter to a GET `/goat/svg` URL. Because those option values are interpolated verbatim into an SVG `<style>` element, a value containing `</style><script>...</script>` breaks out of the CSS and injects an executable script; the victim must open the crafted link (or load it in an iframe/object context), and the same SVG does not execute when loaded through an `<img>` element. The vendor security advisory includes a detailed, reproducible proof-of-concept against the stock 0.35.0 Docker image; no confirmed active exploitation or CISA KEV listing is known, and the issue is rated moderate severity with user interaction required.

XSS Kroki
NVD GitHub VulDB
EPSS 0% CVSS 6.9
MEDIUM PATCH This Month

Kroki 0.35.0 and earlier lets remote attackers make the server issue arbitrary HTTP requests and read local image files through the BlockDiag family of diagram engines (blockdiag, seqdiag, actdiag, nwdiag, packetdiag, rackdiag). A crafted diagram posted to /blockdiag/svg or a sibling endpoint with a node `icon` or `background` set to a URL causes the BlockDiag binary to fetch that URL, and when the target returns an image its bytes are embedded base64-encoded in the rendered SVG returned to the caller; a local path in the same attributes is read with open() and likewise embedded. No authentication, user interaction or non-default configuration is required - the advisory confirms the default KROKI_SAFE_MODE=secure never gated this binary - so any instance reachable on a BlockDiag route is exposed to internal service and cloud metadata probing, read-back only where the target returns an image, and read of local image files readable by the Kroki process. A proof of concept is documented and was reproduced against the 0.33.0 standalone server jar; the issue is fixed in 0.36.0, and no CISA KEV listing exists.

SSRF Kroki
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

Reflected cross-site scripting in Kroki's /dbml/svg endpoint before 0.36.0 allows unauthenticated attackers to craft a DBML diagram whose table header link uses a javascript: scheme, so a victim who opens the generated SVG and clicks the header runs attacker script in the Kroki origin. The same link injection is reachable through table headercolor and TableGroup color settings, and the impact is bounded by what the serving origin exposes. Kroki 0.36.0 fixes the issue by removing links with non-http/https/mailto schemes and adding a restrictive CSP; a reproducible public proof-of-concept is documented in the vendor advisory, and no CISA KEV entry or EPSS score is supplied.

XSS Kroki
NVD GitHub VulDB
EPSS 0% CVSS 5.0
MEDIUM PATCH This Month

Server-side request forgery in Kroki's optional Mermaid companion lets anyone who can submit Mermaid source cause the headless Chromium renderer to issue outbound HTTP or HTTPS GET requests, even when KROKI_SAFE_MODE is set to secure - a PNG-only path, reachable since the Mermaid 11.4.0 bundled in Kroki 0.26.0 introduced flowchart image nodes. Affected deployments run io.kroki:kroki-server 0.26.0 through 0.31.1 together with the yuzutech/kroki-mermaid companion; the submitter must satisfy whatever authentication the deployment configures (CVSS PR:L) and can only reach hosts already reachable from the companion container. The vendor advisory demonstrates outbound request reachability and possible triggering of state-changing GET endpoints; response exfiltration, cloud metadata access and port scanning are not established. This is a genuine but moderate-priority issue rather than a drop-everything emergency: no public exploit code is identified at time of analysis (the advisory does include a marker-host verification recipe), it is not in CISA KEV, and the vendor-released patch is version 0.31.2.

Google SSRF Mermaid +1
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy