GHSA-7rhp-25j5-cqxxMediumCVSS 5.4
Keystatic through 0.6.9 contains a stored cross-site scripting vulnerability in the...
🔗 CVE IDs covered (1)
📋 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 (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-129946
- https://github.com/Thinkmill/keystatic/issues/1669
- https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/form/fields/document/DocumentEditor/pasting/html.ts#L153-L161
- https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/renderer.tsx#L261-L266
- https://www.vulncheck.com/advisories/keystatic-through-0.6.9-stored-xss-via-javascript-link-href-in-documentrenderer
- https://github.com/advisories/GHSA-7rhp-25j5-cqxx