---
id: "CVE-2026-129484"
page: "https://infrastack.ai/live/CVE-2026-129484"
kind: "vulnerability"
aliases: ["CVE-2026-129484"]
title: "Kroki: reflected XSS via SVG color options runs script in victims' browsers"
severity: "medium"
cvss: 6.1
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["diagrams", "kroki", "other", "self-hosted"]
not_affected_if: ["fixed-version", "not-internet-exposed"]
published_at: "2026-11-15T16:16:56+00:00"
first_seen_at: "2026-11-15T16:35:38+00:00"
updated_at: "2026-11-15T16:37:16+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129484", "first_seen_at": "2026-11-15T16:35:38+00:00"}]
exploit_sources: []
---

# Kroki: reflected XSS via SVG color options runs script in victims' browsers

Link for people: https://infrastack.ai/live/CVE-2026-129484 (this .md is for agents)

Kroki, a diagram rendering service, fails to validate the svg-color-dark-scheme and svg-color-light-scheme options on its GET /goat/svg endpoint. An attacker can craft a link whose option value closes the SVG style element, so JavaScript runs in the Kroki origin when a victim opens it.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the running Kroki version: `kroki --version` or the image tag in your deployment, and compare it with `0.36.0`.
- Look for any reverse proxy or gateway logs showing requests to `/goat/svg` with `svg-color-dark-scheme` or `svg-color-light-scheme` parameters containing `</style>`.

## Fix

- Kroki: move to `0.36.0` or later.

## Timeline

- 2026-11-15T16:35:38+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129484

## Documents

- [advisory] Vendor advisory: github.com https://github.com/yuzutech/kroki/security/advisories/GHSA-xp94-px2v-f7f2
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/kroki-before-0.36.0-reflected-xss-via-goat-svg-color-scheme-options
- [fix] Patch: github.com https://github.com/yuzutech/kroki/commit/a0a1435cc38eb7b258c555a883b7687424ad6784
- [fix] Release notes: github.com https://github.com/yuzutech/kroki/releases/tag/v0.36.0

## From the sources

Kroki before 0.36.0 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts via unvalidated svg-color-dark-scheme and svg-color-light-scheme options. Attackers can craft a GET /goat/svg URL whose option value closes the SVG style element, executing JavaScript in the Kroki origin when victims open it.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
