CVE-2026-136173

Cross-Site Scripting in Vaadin Icon via an SVG Loaded Through the src Property

Published Dec 3, 2026 CVSS 4.0 · 2.3 Low EPSS n/a KEV · Not listed
Description
The Vaadin Icon component fetches the SVG named by its src property and renders the markup inside the fetched <svg> element into the live DOM without removing active content. Event handler attributes in that markup, such as onerror on an <image> or onbegin on a <set>, therefore run in the application's origin. An application that binds src to data it does not control, such as a per user avatar or an icon URL stored in a dataset, executes attacker supplied script in the browser of every user who views the icon. A data: URI reaches the same code path.

Flow applications reach it through SvgIcon, whose src constructors and setSrc methods set the same property. Vaadin 24.1 and older are not affected: the src property was added in 24.2.0 and earlier versions have no code that loads an SVG from a URL.

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

Product version
Vaadin 24.2.0 - 24.2.13
Vaadin 24.3.0 - 24.3.21
Vaadin 24.4.0 - 24.4.28
Vaadin 24.5.0 - 24.5.15
Vaadin 24.6.0 - 24.6.13
Vaadin 24.7.0 - 24.7.19
Vaadin 24.8.0 - 24.8.17
Vaadin 24.9.0 - 24.9.26
Vaadin 24.10.0 - 24.10.14
Vaadin 25.0.0 - 25.0.13
Vaadin 25.1.0 - 25.1.13
Vaadin 25.2.0 - 25.2.14
Vaadin 25.3.0 - 25.3.5

Mitigation
No fixed release on this line, upgrade to 24.10.15 or newer
No fixed release on this line, upgrade to 24.10.15 or newer
Upgrade to 24.4.29
No fixed release on this line, upgrade to 24.10.15 or newer
No fixed release on this line, upgrade to 24.10.15 or newer
Upgrade to 24.7.20
No fixed release on this line, upgrade to 24.10.15 or newer
Upgrade to 24.9.27
Upgrade to 24.10.15
No fixed release on this line, upgrade to 25.3.6 or newer
No fixed release on this line, upgrade to 25.3.6 or newer
No fixed release on this line, upgrade to 25.3.6 or newer
Upgrade to 25.3.6

Analysis

No analysis available yet

Remediation

Vendor Solution

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


Vendor Workaround

Do not set the src property, or SvgIcon's src constructors and setSrc methods, to a value the application does not control, and do not serve SVG files uploaded by users through it. Where the SVG itself comes from users, sanitize it on the server before storing or serving it.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description The Vaadin Icon component fetches the SVG named by its src property and renders the markup inside the fetched <svg> element into the live DOM without removing active content. Event handler attributes in that markup, such as onerror on an <image> or onbegin on a <set>, therefore run in the application's origin. An application that binds src to data it does not control, such as a per user avatar or an icon URL stored in a dataset, executes attacker supplied script in the browser of every user who views the icon. A data: URI reaches the same code path. Flow applications reach it through SvgIcon, whose src constructors and setSrc methods set the same property. Vaadin 24.1 and older are not affected: the src property was added in 24.2.0 and earlier versions have no code that loads an SVG from a URL. Users of affected versions should apply the following mitigation or upgrade. Releases that have fixed this issue include: Product version Vaadin 24.2.0 - 24.2.13 Vaadin 24.3.0 - 24.3.21 Vaadin 24.4.0 - 24.4.28 Vaadin 24.5.0 - 24.5.15 Vaadin 24.6.0 - 24.6.13 Vaadin 24.7.0 - 24.7.19 Vaadin 24.8.0 - 24.8.17 Vaadin 24.9.0 - 24.9.26 Vaadin 24.10.0 - 24.10.14 Vaadin 25.0.0 - 25.0.13 Vaadin 25.1.0 - 25.1.13 Vaadin 25.2.0 - 25.2.14 Vaadin 25.3.0 - 25.3.5 Mitigation No fixed release on this line, upgrade to 24.10.15 or newer No fixed release on this line, upgrade to 24.10.15 or newer Upgrade to 24.4.29 No fixed release on this line, upgrade to 24.10.15 or newer No fixed release on this line, upgrade to 24.10.15 or newer Upgrade to 24.7.20 No fixed release on this line, upgrade to 24.10.15 or newer Upgrade to 24.9.27 Upgrade to 24.10.15 No fixed release on this line, upgrade to 25.3.6 or newer No fixed release on this line, upgrade to 25.3.6 or newer No fixed release on this line, upgrade to 25.3.6 or newer Upgrade to 25.3.6
Title Cross-Site Scripting in Vaadin Icon via an SVG Loaded Through the src Property
Weaknesses CWE-79
References
Metrics cvssV4_0

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

Subscriptions

No data.

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Vaadin
Published
Updated
Dec 3, 2026, 11:38 AM
Reserved
Nov 24, 2026, 2:23 PM
Status
Awaiting Analysis
Published
Dec 3, 2026, 12:18 PM
Modified
Dec 3, 2026, 12:18 PM