CVE-2026-129946

medium

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.

References

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

https://github.com/Thinkmill/keystatic/issues/1669

https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/renderer.tsx#L261-L266

https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/form/fields/document/DocumentEditor/pasting/html.ts#L153-L161

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-126425

Details

Source: Mitre, NVD

Published: 2026-11-16

Updated: 2026-11-16

CVSS v3

Base Score: 5.4

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 5.1

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Severity: Medium

EPSS

EPSS: 0.00214