Vulnerability library
Security checkOctober 05, 2026

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmprosemirror-view

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the prosemirror-view package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.42.3
  • Patched version(s): 1.42.3

References

Could your website be exposed too?

SmartScanner can check your website for ProseMirror has a XSS vulnerability in prosemirror-view's paste handling and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 05, 2026