{"id":"CVE-2026-104847","published":"2026-10-02T16:02:42Z","modified":"2026-10-02T16:57:44Z","title":"ProseMirror: XSS vulnerability in prosemirror-view's paste handling","vendor":"ProseMirror","product":"prosemirror-view","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00529,"percentile":0.38178,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7","tags":["x_refsource_MISC"]},{"url":"https://github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1","tags":["x_refsource_MISC"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":7.64},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"prosemirror","affectedVersions":[{"vendor":"ProseMirror","product":"prosemirror-view","versions":["< 1.42.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-02T16:57:07.727132Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"prosemirror-view","vulnerableRanges":["<1.42.3"],"patched":["1.42.3"],"from":["GHSA-c8x8-7fp4-3x9w"],"provenance":"source"}],"summary":{"text":"The prosemirror-view component of ProseMirror, which renders and manages the editable browser interface, has a cross-site scripting flaw in its paste handling in versions before 1.42.3: attacker-provided HTML with clipboard slice context attributes that bypass schema attribute validation is accepted. An attacker who gets a user to paste crafted HTML into an editor can, through user interaction, have attacker-controlled JavaScript execute in the browser window containing that editor, with network access and no authentication required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:09Z"},"euvd":{"id":"EUVD-2026-91749","exploited":false,"provenance":"source"}}