CVE-2026-104847GHSA-c8x8-7fp4-3x9w
ProseMirror has a XSS vulnerability in prosemirror-view's paste handling
ProseMirror prosemirror-viewnpmLibraries & packages
CVSS
8.5HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.30%Chance of exploitation activity in the next 30 days, higher than 22% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 1.42.3prosemirror-view, npmGitHub
npm install prosemirror-view@1.42.3
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Impact
When 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.
Patches
Version 1.42.3 adds validation that prevents this attack.
Workarounds
No known workarounds.
Text from GitHub Advisory Database
Affected versions 3
- prosemirror-view, npm< 1.42.3GitHub
- prosemirror-viewaffected: < 1.42.3CVE List
- prosemirror-view, npmfrom first release, fixed in 1.42.3OSV
References 5
- github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7Fixvia CVE List
- github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1Fixvia CVE List
- github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9wAdvisoryvia CVE List
- github.com/advisories/GHSA-c8x8-7fp4-3x9wAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-104847Referencevia GitHub