{"schema":"threatline.record/2","record":{"id":"CVE-2026-104847","aliases":["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.","categories":["Libraries & packages"],"product":"prosemirror-view","vendor":"ProseMirror","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-c8x8-7fp4-3x9w","source_modified_at":"2026-10-05T22:36:07Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"prosemirror-view"},"range":"< 1.42.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-104847","source_modified_at":"2026-10-02T16:57:44.659Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"prosemirror-view","vendor":"ProseMirror","versions":[{"version":"< 1.42.3","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-c8x8-7fp4-3x9w","source_modified_at":"2026-10-05T22:45:04.552242404Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"prosemirror-view","purl":"pkg:npm/prosemirror-view"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.42.3"}],"type":"SEMVER"}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-c8x8-7fp4-3x9w","source_modified_at":"2026-10-05T22:36:07Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"prosemirror-view"},"version":"1.42.3"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-c8x8-7fp4-3x9w","source_modified_at":"2026-10-05T22:45:04.552242404Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"prosemirror-view","purl":"pkg:npm/prosemirror-view"},"version":"1.42.3"}],"cvss":8.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00305,"percentile":0.22062,"score_date":"2026-10-23"},"published_at":"2026-10-02T16:02:42.475Z","modified_at":"2026-10-05T22:45:04.552242404Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-c8x8-7fp4-3x9w","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-05T22:36:07Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-104847","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-02T16:57:44.659Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-c8x8-7fp4-3x9w","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-05T22:45:04.552242404Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-104847","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w","tags":["x_refsource_MISC"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104847","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-c8x8-7fp4-3x9w","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-02T16:57:07.727132Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-05T22:45:04.552242404Z","content_hash":"79ccebedbfcda3af916fa15dafdfb20222413a756078fc6512e09520f7f67fcd"}}
