HIGH 8.5

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)

ArtifactAffected versionsFixed 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

2affected artifacts
30affected versions
1dependent artifacts (est.)
7dependent versions

0% of the dependent artifacts (0) still pull an affected version in their latest release.

DepthDependent versions
Direct
7

Most used dependents

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