CVE-2026-120350 PUBLISHED

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

Assigner: Vaadin
Reserved: 01.11.2026 Published: 10.11.2026 Updated: 10.11.2026

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

Metrics

CVSS 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
CVSS Score: 5.1

Product Status

Vendor vaadin
Product vaadin
Versions Default: unaffected
  • affected from 25.0.0 to 25.0.13 (incl.)
  • affected from 25.1.0 to 25.1.13 (incl.)
  • affected from 25.2.0 to 25.2.13 (excl.)
  • affected from 25.3.0 to 25.3.5 (excl.)
Vendor vaadin
Product vaadin-core
Versions Default: unaffected
  • affected from 25.0.0 to 25.0.13 (incl.)
  • affected from 25.1.0 to 25.1.13 (incl.)
  • affected from 25.2.0 to 25.2.13 (excl.)
  • affected from 25.3.0 to 25.3.5 (excl.)
Vendor vaadin
Product vaadin-rich-text-editor-flow
Versions Default: unaffected
  • affected from 25.0.0 to 25.0.13 (incl.)
  • affected from 25.1.0 to 25.1.13 (incl.)
  • affected from 25.2.0 to 25.2.13 (excl.)
  • affected from 25.3.0 to 25.3.5 (excl.)
Vendor vaadin
Product rich-text-editor
Versions Default: unaffected
  • affected from 25.0.0 to 25.0.13 (incl.)
  • affected from 25.1.0 to 25.1.14 (incl.)
  • affected from 25.2.0 to 25.2.17 (excl.)
  • affected from 25.3.0 to 25.3.5 (excl.)

Workarounds

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.

Solutions

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

References

Problem Types

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

Impacts

  • CAPEC-592 Stored XSS