ADVISORIES

GitHub Advisory Database

GHSA-c8x8-7fp4-3x9w

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

Details

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.

Affected packages

EcosystemPackageAffected versions
npmprosemirror-view
All versions before 1.42.3 (fixed in 1.42.3)

References