{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0-alpha.0"
                  },
                  {
                    "fixed": "3.30.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "01d7af8c983ee5954c63734f4fa46cb23ae3246d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v3.30.4",
                "range": [
                  {
                    "fixed": "55f59e4907b37e0aa4404c52e965014f66158393"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "e37e6424e50dcab70e4e4b215e1ade773243f509"
            },
            {
              "fixed": "55f59e4907b37e0aa4404c52e965014f66158393"
            },
            {
              "fixed": "01d7af8c983ee5954c63734f4fa46cb23ae3246d"
            }
          ],
          "repo": "https://github.com/ueberdosis/tiptap",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cp6q-959q-f8rh"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-1321"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133170.json"
  },
  "details": "Tiptap @tiptap/core 2.0.0-alpha.0 before 3.30.4 contains a cross-site scripting vulnerability that allows attackers to inject DOM attributes via a __proto__ key passed to mergeAttributes(). Attackers can supply untrusted JSON attribute data whose __proto__ replaces the merged object's prototype, causing DOMSerializer.renderSpec to render injected event handlers that execute JavaScript.",
  "id": "CVE-2026-133170",
  "modified": "2026-11-19T16:46:12.281138406Z",
  "published": "2026-11-19T14:16:26.202Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133170.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ueberdosis/tiptap"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ueberdosis/tiptap/commit/01d7af8c983ee5954c63734f4fa46cb23ae3246d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ueberdosis/tiptap/releases/tag/v3.30.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ueberdosis/tiptap/security/advisories/GHSA-cp6q-959q-f8rh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133170"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/tiptap-tiptap-core-2.0.0-alpha.0-before-3.30.4-xss-via-mergeattributes-prototype-manipulation"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Tiptap @tiptap/core 2.0.0-alpha.0 before 3.30.4 XSS via mergeAttributes() Prototype Manipulation"
}