CVE-2026-136173: Cross-Site Scripting in Vaadin Icon via an SVG Loaded Through the src Property
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
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 24.10.15 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 24.4.29 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 24.7.20 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 24.9.27 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.3.6
Event History
Frequently Asked Questions
Which applications are realistically exposed?
Applications are exposed when the Icon component's src property is bound to data that an attacker can control, such as avatar URLs or icon URLs stored in a dataset. Flow applications are also exposed when SvgIcon constructors or setSrc methods are used with uncontrolled values.
What does an attacker need to exploit this issue?
An attacker needs to supply an SVG URL or data: URI that is assigned to the src property and have another user view the resulting icon. The SVG can contain active content such as event-handler attributes that execute in the application's origin.
How can teams identify potentially vulnerable usage?
Review uses of the Icon src property and Flow SvgIcon constructors or setSrc methods, especially where their values originate from user-controlled records or URLs. Vaadin 24.1 and older are not affected because they do not include SVG loading through this property.