CVE-2026-129946

Keystatic through 0.6.9 Stored XSS via javascript: Link href in DocumentRenderer

Published Nov 16, 2026 CVSS 4.0 · 5.1 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Keystatic version greater than 0.6.9 to remove the flaw.
  • Modify the DocumentRenderer component to sanitize or reject link href values that contain "javascript:" URLs.
  • Restrict content editor privileges or enforce strict input validation for URLs in document fields to prevent injection of malicious links.

Generated by OpenCVE AI on November 16, 2026 at 17:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Keystatic through 0.6.9 Stored XSS via javascript: Link href in DocumentRenderer
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'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'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 16, 2026, 4:04 PM
Reserved
Nov 16, 2026, 2:43 PM
Status
Received
Published
Nov 16, 2026, 3:17 PM
Modified
Nov 16, 2026, 5:17 PM