Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm
Not in CISA KEV

ProseMirror has a XSS vulnerability in prosemirror-view's paste handlingGHSA-c8x8-7fp4-3x9w

Fix: ProseMirror/prosemirror-view@20dc0a9

GHSA-c8x8-7fp4-3x9w is a Cross-site Scripting (XSS) vulnerability in prosemirror-view. A fix is available for prosemirror-view — see the affected versions and patch details below.

Also known asCVE-2026-104847
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-c8x8-7fp4-3x9w.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs22th percentile — riskier than 22% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

1Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
prosemirror-viewnpm
16.7Mdownloads / week

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 Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmprosemirror-viewall versions1.42.3npm install prosemirror-view@1.42.3

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for prosemirror-view, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update prosemirror-view to 1.42.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-c8x8-7fp4-3x9w is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

### 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.
O3 Security · Impact-Aware SCA

Is GHSA-c8x8-7fp4-3x9w in your dependencies?

Find it across npm, including transitive dependencies.

ProseMirror has a XSS vulnerability in prosemirror-view's…