All reports
High

ProseMirror has a XSS vulnerability in prosemirror-view's paste handling

Affected versions

Affected versions
< 1.42.3
Fixed version
1.42.3

Exploitation

CVE-2026-104847

Probability of exploitation in the next 30 days: 0.30%

FIRST EPSS · 2026-11-19

Description

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.

Links

Credits

  • dropn0w