{"id":"GHSA-c8x8-7fp4-3x9w","revision":"969f7e7ec9884548bd1f956c22767a1f","records":[{"revision":"969f7e7ec9884548bd1f956c22767a1f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-c8x8-7fp4-3x9w","aliases":["CVE-2026-104847"],"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.","state":0,"publishedAt":"2026-10-05T22:36:06+00:00","modifiedAt":"2026-10-05T22:45:04.5522424+00:00","affected":[{"ecosystem":"npm","name":"prosemirror-view","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.42.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w","https://nvd.nist.gov/vuln/detail/CVE-2026-104847","https://github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7","https://github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1","https://github.com/ProseMirror/prosemirror-view"],"sourceUrl":"https://github.com/advisories/GHSA-c8x8-7fp4-3x9w","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-c8x8-7fp4-3x9w","identifiers":["GHSA-c8x8-7fp4-3x9w","CVE-2026-104847"]},"retained":false,"historicalAffected":[]}],"coverage":[]}