High, CVSS 8.5npmAmendedPublished
ProseMirror has a XSS vulnerability in prosemirror-view's paste handling
CVE-2026-104847 · GHSA-c8x8-7fp4-3x9w
- Affected
- npm prosemirror-view < 1.42.3
- Fixed in
- 1.42.3· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 1.42.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.