NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-104847: ProseMirror has a XSS vulnerability in prosemirror-view's paste handling

highCVSS 4.0 8.5GHSA-c8x8-7fp4-3x9w

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.

Published Oct 5, 2026

Affected packages

prosemirror-view

Ecosystem
npm
Affected
< 1.42.3
Fixed in
1.42.3
Check
npm ls prosemirror-view

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to dropn0w.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology