Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea
- https://github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061
- https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7f
- https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7f
- https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7f
- https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7f
FAQ
What is CVE-2026-104847?
CVE-2026-104847 is a documented vulnerability. 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 clipboa...
How severe is CVE-2026-104847?
CVSS scoring is not yet available for CVE-2026-104847. Check NVD for updates.
Is there a patch for CVE-2026-104847?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.