CVE-2026-104847
ProseMirror has a XSS vulnerability in prosemirror-view's paste handling
Description
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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » prosemirror-viewvia npm prosemirror-view | < 1.42.3 | 1.42.3 |
| org.webjars.npm » prosemirror-viewvia npm prosemirror-view | < 1.42.3 | 1.42.3 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 7 |
Most used dependents
- org.mvnpm.at.vonage » vivid0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2026-104847 | nvd.nist.gov |
| Package | ProseMirror/prosemirror-view | github.com |
| Web | ProseMirror/prosemirror-view advisory GHSA-c8x8-7fp4-3x9w | github.com |
| Web | ProseMirror/prosemirror-view commit 20dc0a9 | github.com |
| Web | ProseMirror/prosemirror-view commit 2e91a61 | github.com |
