Read the docs

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

Priority LOW 39CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.003 22nd percentileScored 2026-11-07
Fix Fixed prosemirror-view (ProseMirror): 1.42.3prosemirror-view (npm): 1.42.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ProseMirrorprosemirror-viewbefore 1.42.31.42.3Patch availableCNA
—prosemirror-view (npm)before 1.42.31.42.3Patch availableGHSA-c8x8-7fp4-3x9w
  • prosemirror-view VendorProseMirror Affected before 1.42.3 Fixed in 1.42.3 Patch available CNA
  • prosemirror-view (npm) Vendor— Affected before 1.42.3 Fixed in 1.42.3 Patch available GHSA-c8x8-7fp4-3x9w

Remediation

  • Fix · CNA prosemirror-view (ProseMirror) Fixed in 1.42.3
  • Fix · GHSA-c8x8-7fp4-3x9w prosemirror-view (npm) Fixed in 1.42.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-104847
  2. 2026-10-06 Alias added: GHSA-c8x8-7fp4-3x9w
  3. 2026-10-06 Fix available: npm/[email protected] · GHSA-c8x8-7fp4-3x9w
  4. 2026-10-06 CVSS score added · GHSA-c8x8-7fp4-3x9w
  5. 2026-10-06 Weakness changed · GHSA-c8x8-7fp4-3x9w
  6. 2026-10-06 5 new references · GHSA-c8x8-7fp4-3x9w

References

Sources