Vulnerability
CVE-2026-104847
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.
53 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-2437-285c-3gwq
- CGA-354w-p2jg-5pjf
- CGA-3p5v-h852-7cc4
- CGA-3w52-cm38-w6x6
- CGA-4342-c2gq-xxj4
- CGA-4345-rh2x-f2rc
- CGA-4gpc-qq72-276m
- CGA-4gpj-xxxx-xv83
- CGA-4h5v-539h-wv32
- CGA-4mmc-cc2r-p86h
- CGA-4q5g-3ch4-59v7
- CGA-4vw3-26mw-2p8f
- CGA-58g4-xc49-3xgv
- CGA-5xj7-cxxw-8hpg
- CGA-6p9p-753g-f8xp
- CGA-6pgq-wvr4-h6rm
- CGA-6q4w-m46w-xxcq
- CGA-759r-3x44-f3fr
- CGA-763x-c9gw-q3p9
- CGA-84rh-g759-h47c
- CGA-8g9g-q538-vjq4
- CGA-8mhf-p288-pvw9
- CGA-c52r-8fx3-qrw5
- CGA-c8mr-j44c-gh3r
- CGA-cf49-6whq-4chw
- CGA-cpmp-99xj-c9v5
- CGA-f35w-fjx2-96vq
- CGA-g889-w27j-4xm5
- CGA-gm46-9v9x-2qrj
- CGA-gvvp-9432-5m8m
- CGA-h7x3-p97j-qchv
- CGA-hcf2-77hr-x5vf
- CGA-hmwp-49r7-qmmh
- CGA-jq25-xrfq-xx38
- CGA-m458-3h5h-3xjh
- CGA-m8hg-gxgc-xqww
- CGA-px7r-h8vh-h4vx
- CGA-q6jr-958h-gff2
- CGA-qhxx-vmhc-gr43
- CGA-qpc5-ff3h-8pvj
- CGA-qv42-38cx-563f
- CGA-r69p-xr26-cxc3
- CGA-rcjc-7hr4-2cr3
- CGA-v7pr-w7cw-755c
- CGA-w33x-x5hm-6886
- CGA-w44r-vvv5-jrhh
- CGA-w56w-q35c-9h5g
- CGA-wqqq-3379-7gw4
- CGA-x353-mwjv-9rx4
- CGA-x385-m66w-jpqm
- CGA-x9wq-pj28-wpvg
- CGA-xxf9-373g-6jx6
-
GHSA-c8x8-7fp4-3x9w
ProseMirror has a XSS vulnerability in prosemirror-view's paste handling