CVE Explore

XSS in Prosemirror Prosemirror-View

CVE-2026-104847

CVSS
Not scored
Public exploits
None known
EPSS
0.003 · 23.1th percentile
Published
2026-10-02

What to do

Fixed in
1.42.3
Affected
1 affected product

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

EPSS exploit prediction

EPSS 0.003, 23.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

References