Skip to main content
← All vulnerabilities
CVE-2026-104847GHSA-C8X8-7FP4-3X9W

ProseMirror: XSS vulnerability in prosemirror-view's paste handling

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.42.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

ProseMirror's view component renders and manages the editable browser interface for ProseMirror documents. Prior to 1.42.3, prosemirror-view paste handling accepts attacker-provided HTML whose clipboard slice context contains attributes that are not passed through schema attribute validation. When a user pastes the crafted HTML into an editor, the unvalidated context attributes can construct content that executes attacker-controlled JavaScript in the browser window containing the editor. This issue is fixed in version 1.42.3.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • ProseMirror prosemirror-view

    fixed in 1.42.3

  • prosemirror-viewnpm

    fixed in 1.42.3

References 3

GitHub · ProseMirror/prosemirror-view