{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.6.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.6.9"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "b65d4a55501dc3b7bb268dc925d8538a8a9f8e95"
            }
          ],
          "repo": "https://github.com/thinkmill/keystatic",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129946.json"
  },
  "details": "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.",
  "id": "CVE-2026-129946",
  "modified": "2026-11-17T20:45:52.954163823Z",
  "published": "2026-11-16T15:06:11.313Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129946.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129946"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/keystatic-through-0.6.9-stored-xss-via-javascript-link-href-in-documentrenderer"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Thinkmill/keystatic/issues/1669"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Thinkmill/keystatic"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/form/fields/document/DocumentEditor/pasting/html.ts#L153-L161"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Thinkmill/keystatic/blob/b65d4a55501dc3b7bb268dc925d8538a8a9f8e95/packages/keystatic/src/renderer.tsx#L261-L266"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Keystatic through 0.6.9 Stored XSS via javascript: Link href in DocumentRenderer"
}