GHSA-c8x8-7fp4-3x9w: XSS

Published Oct 5, 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.

Affected Software

1 affected componentFixes available
npm/prosemirror-view<1.42.3
1.42.3

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 to a version that resolves this vulnerability.

    Fixed in 1.42.3

Event History

Oct 5, 2026
Advisory Published
via GitHub·10:36 PM
Data Sourced
via GitHub·10:36 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using npm/prosemirror-view are exposed when users can paste attacker-provided HTML into a ProseMirror editor component. The impact is execution of attacker-controlled JavaScript in the browser window containing that editor.

2

What must an attacker be able to do to exploit it?

The attacker must cause a user to paste attacker-provided HTML into the ProseMirror editor component. The provided information does not describe exploitation through other input paths.

3

Which version fixes the issue?

Version 1.42.3 adds validation intended to prevent this attack.

4

What can be done if updating is not immediately possible?

No known workaround is available. Prioritize updating and, until then, avoid allowing users to paste untrusted HTML into affected editor components.

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