Patch Forecast
Amber warning
Patch this week.

CVE-2026-104847 · GHSA-c8x8-7fp4-3x9w

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

Risk score
65/100
CVSS
8.5 v4.0
Exploit chance (30 days)
0.3%
Published
2 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
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 cr…
Affected
prosemirror-view (npm) < 1.42.3
Fix
Upgrade prosemirror-view to 1.42.3 or later.
Exploitation
No known exploitation

Why it is Amber

  • CVSS 8.5 high
  • Remotely exploitable without logging in
  • On your watchlist: npm

Affected packages

PackageEcosystemVulnerableFixed in
prosemirror-viewnpm< 1.42.31.42.3

References

Original 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.

Last activity 2 Oct 2026. Patch Forecast updates every hour.