{
  "id": "CVE-2026-104847",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-104847",
  "published_at": "2026-10-02T16:02:42.475Z",
  "title": "ProseMirror: XSS vulnerability in prosemirror-view's paste handling",
  "vendor": "ProseMirror",
  "product": "prosemirror-view",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "ProseMirror's view component renders and manages the editable browser interface for ProseMirror documents. Prior to 1.42.3, prosemirror-view paste handling accepts attacker-provided HTML whose clipboard slice context contains attributes that are not passed through schema attribute validation. When a user pastes the crafted HTML into an editor, the unvalidated context attributes can construct content that executes attacker-controlled JavaScript in the browser window containing the editor. This issue is fixed in version 1.42.3.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ProseMirror",
        "product": "prosemirror-view",
        "ranges": [
          "\u003c 1.42.3"
        ],
        "fixed_in": [
          "1.42.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade prosemirror-view to 1.42.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
