CVE-2026-104847 — ProseMirror: XSS vulnerability in prosemirror-view's paste handling
ProseMirror's view component renders and manages the editable browser interface for ProseMirror documents. Prior to 1.42.3, prosemirror-view paste handling accepts attacker-prov…
Published: 2026-10-02 · CVSS: 8.5 · CVSS 4.0
ProseMirror's view component renders and manages the editable browser interface for ProseMirror documents. Prior to 1.42.3, prosemirror-view paste handling accepts attacker-provided HTML whose clipboard slice context contains attributes that are not passed through schema attribute validation. When a user pastes the crafted HTML into an editor, the unvalidated context attributes can construct content that executes attacker-controlled JavaScript in the browser window containing the editor. This issue is fixed in version 1.42.3.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7