Skip to content
Heist/ feed
HighFix available

ProseMirror has a XSS vulnerability in prosemirror-view's paste handling

Type: advisorySource: OSV1 source record

### Impact When a user pastes attacker-provided HTML into a ProseMirror editor component, this can cause attacker-controlled JavaScript code to run in the browser window containing the editor. ### Patches Version 1.42.3 adds validation that prevents this attack. ### Workarounds No known workarounds.

Announced Group revision 1
Original source ↗

GHSA-c8x8-7fp4-3x9w

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-c8x8-7fp4-3x9w

prosemirror-view

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
1.42.3

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.42.3"
          }
        ]
      }
    ],
    "package": {
      "name": "prosemirror-view",
      "purl": "pkg:npm/prosemirror-view",
      "ecosystem": "npm"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-c8x8-7fp4-3x9w/GHSA-c8x8-7fp4-3x9w.json"
    }
  }
]
Related CVEs
CVE-2026-104847

Source reference: /aliases

Publisher severity

high

Source reference: /database_specific/severity

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

CVE-2026-104847 · High

prosemirror-view

Event
#85820 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement