Disclosure 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.
Source-reported weakness categories
CWE-79
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub Reviewed Security Advisories · GHSA-c8x8-7fp4-3x9w
Open original source · Updated Oct 05, 2026
ProseMirror has a XSS vulnerability in prosemirror-view's paste handling
Source severity: HIGH / 8.5
| Ecosystem | Package | Affected range | First patched |
|---|---|---|---|
| npm | prosemirror-view | < 1.42.3 | 1.42.3 |
NIST National Vulnerability Database · NVD-CVE-2026-104847
Open original source · Updated Oct 02, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
Original records & references
PUBLISHED 2026-10-02T12:16:47-04:00
MODIFIED 2026-10-02T14:44:11-04:00
INGESTED 2026-10-06T11:45:30-04:00