CVE-2026-104847

published 2 Oct 2026 · updated 2 Oct 2026

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

8.5HighCVSS 8.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ProseMirror<1.42.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-104847 severity on Zeptric[![CVE-2026-104847](https://zeptric.io/badge/cve/CVE-2026-104847.svg)](https://zeptric.io/cve/CVE-2026-104847)