CVE-2026-104847
Published:October 02, 2026
Updated:October 09, 2026
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.
Affected Packages
prosemirror-view (NPM):
Affected version(s) >=0.11.1 <1.42.3Fix Suggestion:
Update to version 1.42.3prosemirror-view (NPM):
Affected version(s) >=1.0.0 <1.42.3Fix Suggestion:
Update to version 1.42.3https://code.haverbeke.berlin/prosemirror/prosemirror-view.git (SCM_GIT):
Affected version(s) >=1.0.0 <1.42.3Fix Suggestion:
Update to version 1.42.3Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.30