CVE-2026-129946 Keystatic through 0.6.9 Stored XSS via javascript: Link href in DocumentRenderer

Medium 5.1 Published Updated

Authenticated editors can store javascript: links in Keystatic documents that steal visitors' access tokens.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-129946?

CVE-2026-129946 is a medium-severity cross-site scripting vulnerability in Thinkmill Keystatic, published on 16 Nov 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2026-129946?

1 open source package ship an affected version, including %40keystatic/core.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
%40keystatic/core npm
pkg:npm/%40keystatic/core
All versions to 0.6.9None

How do I fix CVE-2026-129946?

No fix has been published for CVE-2026-129946 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-129946 being exploited?

There is no known exploitation of CVE-2026-129946 in the wild and no public exploit code.

Sources

Also known as GHSA-7rhp-25j5-cqxx.

Is CVE-2026-129946 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free