~ / search / GHSA-c8x8-7fp4-3x9w

GHSA-c8x8-7fp4-3x9w

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

Source: GitHub Advisory Database (reviewed) High CVE-2026-104847

Packages

EcosystemPackageAffectedFixed in
npm prosemirror-view < 1.42.3 1.42.3

Details

As written in the advisory (Markdown source, shown as plain text).

### 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.

References

External links from the advisory. They lead to third-party sites.