Keystatic Stored XSS via javascript: Link href in DocumentRenderer
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Keystatic through 0.6.9 contains a stored cross-site scripting flaw in its DocumentRenderer component (CWE-79). Authenticated content editors can paste links with javascript: URLs into document fields, and the link href values are not validated. Script runs when visitors click the rendered links, which can steal the keystatic-gh-access-token cookie.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for Keystatic.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129946
- 2026-11-16 CISA SSVC decision points changed
- 2026-11-16 Alias added: GHSA-7rhp-25j5-cqxx
References
Other 3
- 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
More Thinkmill vulnerabilities
- TI-2026-92178 Keystatic Path Traversal via Local Mode API Prefix Bypass CVSS 4.0MEDIUM 6.3
- TI-2026-92179 Login CSRF in Keystatic GitHub OAuth login via missing state validation CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-129946 · CVE Program
- CVE-2026-129946 · NVD
- GHSA-7rhp-25j5-cqxx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences