Advisory

GHSA-c8x8-7fp4-3x9w

Also known as: CVE-2026-104847

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-10-05 22:36 UTC
Modified
2026-10-05 22:45 UTC

Affected packages and fixes

prosemirror-view

npm · All systems

Affected

  • introduced 0, fixed 1.42.3 (semver)

Fixed versions

1.42.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences