MODERATE 5.1

CVE-2026-120350

Stored Cross-Site Scripting in the Vaadin Rich Text Editor via an Unescaped Video Embed

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

The Vaadin Rich Text Editor exports a video embed without escaping its value, and then parses the resulting HTML into live DOM. A value crafted to break out of the href attribute therefore runs script in the viewer's browser. An attacker who can edit shared content pastes a video embed carrying the payload, the delta is stored, and the script runs when any user opens the page, including in read only mode.

Only content persisted through asDelta() is affected. The default HTML value, set and read through setValue and getValue, is sanitized on the server with a safelist that has no iframe, so the embed does not survive that path. Vaadin 24 and older are not affected: they build the HTML value from the editor's own innerHTML, which the browser escapes.

Users of affected versions should apply the following mitigation or upgrade. Releases that have fixed this issue include:

Product version Vaadin 25.0.0 - 25.0.13 Vaadin 25.1.0 - 25.1.13 Vaadin 25.2.0 - 25.2.12 Vaadin 25.3.0 - 25.3.4

Mitigation No fixed release on this line, upgrade to 25.2.13 or newer No fixed release on this line, upgrade to 25.2.13 or newer Upgrade to 25.2.13 Upgrade to 25.3.5

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
com.vaadin » vaadinpreliminary
>= 25.0.0, <= 25.0.13>= 25.1.0, <= 25.1.13>= 25.2.0, < 25.2.13>= 25.3.0, < 25.3.5
25.2.13, 25.3.5
com.vaadin » vaadin-corepreliminary
>= 25.0.0, <= 25.0.13>= 25.1.0, <= 25.1.13>= 25.2.0, < 25.2.13>= 25.3.0, < 25.3.5
25.2.13, 25.3.5
com.vaadin » vaadin-rich-text-editor-flowpreliminary
>= 25.0.0, <= 25.0.13>= 25.1.0, <= 25.1.13>= 25.2.0, < 25.2.13>= 25.3.0, < 25.3.5
25.2.13, 25.3.5

Blast radius

3affected artifacts
136affected versions
161dependent artifacts (est.)
1,359dependent versions

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

DepthDependent versions
Direct
427
2 hops
403
3 hops
311
4 hops
197
5 hops
21

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