Vulnerability

CVE-2026-104847

highCVSS 4.0 8.5Published 2 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640db…
  • github.com /ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6…
  • github.com /ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning