ProseMirror has a XSS vulnerability in prosemirror-view's paste handling
High severity
GitHub Reviewed
Published
Aug 25, 2026
in
ProseMirror/prosemirror-view
•
Updated Oct 5, 2026
Description
Published by the National Vulnerability Database
Oct 2, 2026
Published to the GitHub Advisory Database
Oct 5, 2026
Reviewed
Oct 5, 2026
Last updated
Oct 5, 2026
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.
References