CVE Catalog

CVE-2026-104847

HighCVSS 8.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

21th percentile - higher than 21% of all known CVEs

Summary

prosemirror-view before version 1.42.3 has a vulnerability in paste handling that does not validate clipboard context attributes. An attacker can supply malicious HTML that executes JavaScript in the victim's browser when pasted.

Risk Assessment

The organization may be exposed to XSS attacks if users paste content from untrusted sources into the ProseMirror editor, potentially leading to session theft or account takeover.

Recommendation

It is recommended to upgrade prosemirror-view to version 1.42.3 or later and educate users about the risks of pasting content from unknown sources.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS