CVE-2026-129946: Keystatic through 0.6.9 Stored XSS via javascript: Link href in DocumentRenderer
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue, and who is exposed to the resulting script execution?
An authenticated content editor can store a malicious javascript: link in a document field. Script execution occurs when a visitor clicks the rendered link, potentially exposing that visitor's keystatic-gh-access-token cookie.
What user interaction is required for exploitation?
The attacker must be able to authenticate as a content editor and add or paste an anchor with a javascript: URL into a document field. A visitor must then click the rendered malicious link for the script to execute.
Which versions are affected?
Keystatic through version 0.6.9 is affected. The provided information does not identify a fixed version.