CVE-2026-120350

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

Published Nov 10, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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

Analysis

AI-generated

Technical impact

The Vaadin Rich Text Editor generates HTML that includes a video embed tag without escaping its href attribute. When a crafted value escapes the attribute context, the engine parses and injects the resulting HTML into the live DOM, allowing malicious scripts to run in the viewer’s browser. Only data persisted through the editor’s asDelta() pathway is affected; the default HTML value obtained via setValue/getValue is sanitized and does not survive this attack path. An attacker who can edit shared content can embed the malicious payload, store the delta, and trigger script execution when any user, even in read‑only mode, opens the page.

Affected Systems

Vaadin products including vaadin:rich-text-editor, vaadin:vaadin, vaadin:vaadin-core, and vaadin:vaadin-rich-text-editor-flow are impacted for versions 25.0.0 through 25.0.13, 25.1.0 through 25.1.13, 25.2.0 through 25.2.12, and 25.3.0 through 25.3.4. Vaadin 24 and earlier versions are not affected because they construct the HTML value from the editor’s own innerHTML, which the browser escapes.

Risk and Exploitability

The vulnerability has a CVSS score of 5.1, indicating moderate severity. The EPSS score is less than 1 %, suggesting a low probability of exploitation in the current threat landscape. It is not listed in the CISA KEV catalog. The likely attack vector is via user‑editable content; an attacker must have permissions to edit shared content to inject a video embed that contains the malicious payload. Once stored, the script executes when any user opens the affected page, regardless of their permission level.

Remediation

Vendor Solution

Users of affected versions should apply the following mitigation or upgrade.


Vendor Workaround

Persist the editor content through the default HTML value, set and read with setValue and getValue, which is sanitized on the server, rather than through asDelta(). An application that must use asDelta() should strip video inserts from the delta before storing or replaying it.


OpenCVE Recommended Actions

  • Upgrade to Vaadin 25.2.13 or newer; this version removes the flaw for all affected releases.
  • If upgrade to 25.2.13 is not applicable, upgrade to Vaadin 25.3.5, which also contains the fix.
  • Persist editor content through the default HTML value using setValue and getValue, which sanitizes the content on the server and blocks the exploit pathway.
  • When the application must use asDelta(), strip any video inserts from the delta before storing or replaying the content.

Generated by OpenCVE AI on November 15, 2026 at 06:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vaadin
Vaadin rich-text-editor
Vaadin vaadin
Vaadin vaadin-core
Vaadin vaadin-rich-text-editor-flow
Vendors & Products Vaadin
Vaadin rich-text-editor
Vaadin vaadin
Vaadin vaadin-core
Vaadin vaadin-rich-text-editor-flow
Type Values Removed Values Added
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
Title Stored Cross-Site Scripting in the Vaadin Rich Text Editor via an Unescaped Video Embed
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Vaadin
Published
Updated
Nov 13, 2026, 2:31 PM
Reserved
Nov 1, 2026, 7:47 PM
Status
Awaiting Analysis
Published
Nov 10, 2026, 12:17 PM
Modified
Nov 13, 2026, 3:17 PM