{"id":"GHSA-c8x8-7fp4-3x9w","summary":"ProseMirror has a XSS vulnerability in prosemirror-view's paste handling","details":"### 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.","aliases":["CVE-2026-104847"],"modified":"2026-10-05T22:45:04.552242404Z","published":"2026-10-05T22:36:06Z","database_specific":{"nvd_published_at":"2026-10-02T16:16:47Z","cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-10-05T22:36:06Z"},"references":[{"type":"WEB","url":"https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104847"},{"type":"WEB","url":"https://github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7"},{"type":"WEB","url":"https://github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1"},{"type":"PACKAGE","url":"https://github.com/ProseMirror/prosemirror-view"}],"affected":[{"package":{"name":"prosemirror-view","ecosystem":"npm","purl":"pkg:npm/prosemirror-view"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.42.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-c8x8-7fp4-3x9w/GHSA-c8x8-7fp4-3x9w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}