{"id":"CVE-2026-104847","aliases":["EUVD-2026-91749","GHSA-c8x8-7fp4-3x9w","ROOT-APP-NPM-CVE-2026-104847"],"status":"published","title":"ProseMirror: XSS vulnerability in prosemirror-view's paste handling","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.","severity":{"version":"4.0","score":8.5,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.003,"percentile":0.2305,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2026-10-02T16:02:42Z","modified":"2026-10-28T02:31:00Z","fixes":[{"ecosystem":"npm","package":"prosemirror-view","fixed_in":["1.42.3"],"sources":["ghsa","osv"]},{"ecosystem":"Root:npm","package":"prosemirror-view","fixed_in":["1.41.8-aikido.1"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@rootio/prosemirror-view","fixed_in":["1.41.8-root.io.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"prosemirror-view","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.42.3"}]}]},{"source":"osv","ecosystem":"npm","package":"prosemirror-view","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.42.3"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"prosemirror-view","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.41.8-aikido.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/prosemirror-view","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.41.8-root.io.1"}]}]}],"products":[{"vendor":"prosemirror","product":"prosemirror-view"}],"references":[{"url":"https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w","tags":["x_refsource_CONFIRM","x_refsource_MISC","advisory","web"]},{"url":"https://github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1","tags":["x_refsource_MISC","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104847","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c8x8-7fp4-3x9w"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104847.json","tags":["advisory"]},{"url":"https://github.com/ProseMirror/prosemirror-view","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-104847","title":"ProseMirror: XSS vulnerability in prosemirror-view's paste handling","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.","status":"published","published":"2026-10-02T16:02:42.475Z","modified":"2026-10-02T16:57:44.659Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:20:09.098623Z"}],"euvd":[{"id":"EUVD-2026-91749","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.","status":"published","published":"2026-10-02T16:02:42Z","modified":"2026-10-02T16:57:44Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"updated_at":"2026-11-02T17:27:42.349288Z"}],"ghsa":[{"id":"GHSA-c8x8-7fp4-3x9w","title":"ProseMirror has a XSS vulnerability in prosemirror-view's paste handling","description":"### Impact\n\nWhen a user pastes attacker-provided HTML into a ProseMirror editor component, this can cause attacker-controlled JavaScript code to run in the browser window containing the editor.\n\n### Patches\n\nVersion 1.42.3 adds validation that prevents this attack.\n\n### Workarounds\n\nNo known workarounds.","status":"published","published":"2026-10-05T22:36:06Z","modified":"2026-10-05T22:36:07Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:41:25.889593Z"}],"nvd":[{"id":"CVE-2026-104847","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.","status":"published","published":"2026-10-02T16:16:47.41Z","modified":"2026-10-02T18:44:11.27Z","cvss":[{"version":"4.0","score":8.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:12:53.75133Z"}],"osv":[{"id":"CVE-2026-104847","title":"ProseMirror: XSS vulnerability in prosemirror-view's paste handling","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.","status":"published","published":"2026-10-02T16:02:42.475Z","modified":"2026-10-28T02:31:00.937529156Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:54.236592Z"},{"id":"GHSA-c8x8-7fp4-3x9w","title":"ProseMirror has a XSS vulnerability in prosemirror-view's paste handling","description":"### Impact\n\nWhen a user pastes attacker-provided HTML into a ProseMirror editor component, this can cause attacker-controlled JavaScript code to run in the browser window containing the editor.\n\n### Patches\n\nVersion 1.42.3 adds validation that prevents this attack.\n\n### Workarounds\n\nNo known workarounds.","status":"published","published":"2026-10-05T22:36:06Z","modified":"2026-10-05T22:45:04.552242404Z","cvss":[{"version":"4.0","score":8.5,"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","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"ROOT-APP-NPM-CVE-2026-104847","title":"CVE-2026-104847 in prosemirror-view - Patched by Root","description":"Root has patched CVE-2026-104847 in the prosemirror-view package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-10-19T09:00:56Z","modified":"2026-10-19T10:15:55.02812498Z","updated_at":"2026-11-02T15:53:27.362922Z"}]}}
