Technical impact
Keystatic, up to version 0.6.9, has a stored cross‑site scripting flaw in the DocumentRenderer component. The flaw stems from unvalidated link href values, allowing an authenticated content editor to insert a hyperlink whose href contains a javascript: URL. When a visitor later clicks that link in a rendered document, the embedded script executes in the visitor’s browser, enabling the attacker to read the keystatic‑gh‑access‑token cookie and potentially hijack the session or capture other sensitive information.
Affected Systems
The vulnerability affects all installations of Thinkmill Keystatic versions up to and including 0.6.9. Users running documentation editing pages should check their deployment version and upgrade to a patched release that is newer than 0.6.9 or a later revision.
Risk and Exploitability
The CVSS score of 5.1 indicates moderate severity. No EPSS score is available, and the vulnerability is currently not listed in the CISA KEV catalog. The attack requires the attacker to first obtain access as a content editor; only authenticated editors can inject malicious links. Once injected, the script only executes when a victim clicks the link, so the threat is limited to users who view the rendered document. The attacker could capture the keystatic‑gh‑access‑token cookie, which may provide further access to the host’s GitHub actions. Version 0.6.9 is also affected, and a patch is available only in newer releases.