---
id: "CVE-2026-129946"
page: "https://infrastack.ai/live/CVE-2026-129946"
kind: "vulnerability"
aliases: ["CVE-2026-129946"]
title: "Keystatic: stored XSS in DocumentRenderer lets editors run script"
severity: "medium"
cvss: 5.4
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["javascript", "keystatic", "package", "self-hosted"]
not_affected_if: ["no-keystatic", "static-content-no-editors"]
published_at: "2026-11-16T15:17:29+00:00"
first_seen_at: "2026-11-16T15:37:56+00:00"
updated_at: "2026-11-16T15:40:57+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129946", "first_seen_at": "2026-11-16T15:37:56+00:00"}]
exploit_sources: []
---

# Keystatic: stored XSS in DocumentRenderer lets editors run script

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

Keystatic through 0.6.9 renders unvalidated link href values in the DocumentRenderer component, so a javascript: URL pasted into a document field runs script when a visitor clicks it. An authenticated content editor can use this to steal the keystatic-gh-access-token cookie.

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

## How to check

- Check the installed Keystatic version with `npm ls @keystatic/core` and compare it to the fixed release.
- Look for document fields rendered with DocumentRenderer that accept editor-authored links.

## Fix

- Keystatic through `0.6.9` is affected; the sources do not name a fixed version.

## Timeline

- 2026-11-16T15:37:56+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129946

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/keystatic-through-0.6.9-stored-xss-via-javascript-link-href-in-documentrenderer

## From the sources

Keystatic through 0.6.9 contains a stored cross-site scripting vulnerability in the DocumentRenderer component that allows authenticated content editors to inject scripts via unvalidated link href values. Editors can paste anchors with javascript: URLs into document fields, executing script when visitors click rendered links and stealing the keystatic-gh-access-token cookie.

---

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