---
id: CVE-2026-104847
title: >-
  ProseMirror's view component renders and manages the editable browser
  interface for ProseMirror documents
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 …
severity: high
cvss: 8.5
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'
cwe:
  - CWE-79
vendor: ProseMirror
product: prosemirror-view
affected:
  - prosemirror-view < 1.42.3
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T17:17:03.363'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104847'
references:
  - url: >-
      https://github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7
    label: security-advisories@github.com
  - url: >-
      https://github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1
    label: security-advisories@github.com
  - url: >-
      https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w
    label: security-advisories@github.com
  - url: >-
      https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w
    label: security-advisories@github.com
  - url: >-
      https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w
    label: security-advisories@github.com
  - url: >-
      https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-02T16:57:07.727132Z'
cvssSource: cna
ingestedAt: '2026-10-02T16:22:59.528Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
