CVE-2026-104847: ProseMirror: XSS vulnerability in prosemirror-view's paste handling

Published Oct 2, 2026
·
Updated

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.

Other sources

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.

— NVD

Affected Software

3 affected componentsFixes available
npm/prosemirror-view<1.42.3
npm/prosemirror-view<1.42.3
1.42.3
IBM CyberFraud<=1.0.0 - 1.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/prosemirror-view to a version that resolves this vulnerability.

    Fixed in 1.42.3
  2. Upgrade

    Upgrade prosemirror-view to a version that resolves this vulnerability.

    Fixed in 1.42.3

Event History

Oct 2, 2026
CVE Published
via MITRE·04:02 PM
Data Sourced
via MITRE·04:02 PM
DescriptionWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Oct 5, 2026
Advisory Published
via GitHub·10:36 PM
Data Sourced
via GitHub·10:36 PM
DescriptionWeaknessAffected Software
Nov 9, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Which deployments are affected?

Deployments using prosemirror-view versions earlier than 1.42.3 are affected. The issue is in the view component's paste handling.

2

What must an attacker do to trigger the vulnerability?

An attacker must provide crafted HTML with clipboard slice context attributes that bypass schema attribute validation. A user must then paste that HTML into a ProseMirror editor.

3

Is authentication required to exploit this issue?

No attacker privileges are required, but exploitation requires user interaction: the target user must paste the crafted HTML into the editor.

4

What is the impact after successful exploitation?

The crafted content can execute attacker-controlled JavaScript in the browser window that contains the editor. The stated CVSS impact includes high confidentiality and integrity impact.

5

What is the remediation?

Upgrade prosemirror-view to version 1.42.3, which fixes the paste-handling issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203