Cross-Site Scripting in Vaadin Icon via an SVG Loaded Through the src Property
Summary
| CVE | CVE-2026-136173 |
|---|---|
| State | PUBLISHED |
| Assigner | Vaadin |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 12:18:05 UTC |
| Updated | 2026-12-03 12:18:05 UTC |
| 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 |
Risk And Classification
Primary CVSS: v4.0 2.3 LOW from [email protected]
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 2.3 | LOW | 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/E:X/C... |
| 4.0 | CNA | CVSS | 2.3 | LOW | 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 |
CVSS v4.0 Breakdown
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Vaadin | Vaadin | affected 24.2.0 24.2.13 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 24.3.0 24.3.21 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 24.4.0 24.4.29 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 24.5.0 24.5.15 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 24.6.0 24.6.13 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 24.7.0 24.7.20 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 24.8.0 24.8.17 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 24.9.0 24.9.27 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 24.10.0 24.10.15 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 25.0.0 25.0.13 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 25.1.0 25.1.13 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 25.2.0 25.2.14 maven | Not specified |
| CNA | Vaadin | Vaadin | affected 25.3.0 25.3.6 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 24.2.0 24.2.13 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 24.3.0 24.3.21 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 24.4.0 24.4.29 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 24.5.0 24.5.15 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 24.6.0 24.6.13 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 24.7.0 24.7.20 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 24.8.0 24.8.17 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 24.9.0 24.9.27 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 24.10.0 24.10.15 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 25.0.0 25.0.13 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 25.1.0 25.1.13 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 25.2.0 25.2.14 maven | Not specified |
| CNA | Vaadin | Vaadin-core | affected 25.3.0 25.3.6 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 24.2.0 24.2.12 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 24.3.0 24.3.20 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 24.4.0 24.4.29 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 24.5.0 24.5.14 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 24.6.0 24.6.12 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 24.7.0 24.7.20 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 24.8.0 24.8.16 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 24.9.0 24.9.27 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 24.10.0 24.10.15 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 25.0.0 25.0.13 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 25.1.0 25.1.13 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 25.2.0 25.2.13 maven | Not specified |
| CNA | Vaadin | Vaadin-icons-flow | affected 25.3.0 25.3.6 maven | Not specified |
| CNA | Vaadin | Icon | affected 24.2.0 24.2.9 semver | Not specified |
| CNA | Vaadin | Icon | affected 24.3.0 24.3.22 semver | Not specified |
| CNA | Vaadin | Icon | affected 24.4.0 24.4.22 semver | Not specified |
| CNA | Vaadin | Icon | affected 24.5.0 24.5.12 semver | Not specified |
| CNA | Vaadin | Icon | affected 24.6.0 24.6.11 semver | Not specified |
| CNA | Vaadin | Icon | affected 24.7.0 24.7.14 semver | Not specified |
| CNA | Vaadin | Icon | affected 24.8.0 24.8.14 semver | Not specified |
| CNA | Vaadin | Icon | affected 24.9.0 24.9.23 semver | Not specified |
| CNA | Vaadin | Icon | affected 24.10.0 24.10.11 semver | Not specified |
| CNA | Vaadin | Icon | affected 25.0.0 25.0.13 semver | Not specified |
| CNA | Vaadin | Icon | affected 25.1.0 25.1.14 semver | Not specified |
| CNA | Vaadin | Icon | affected 25.2.0 25.2.17 semver | Not specified |
| CNA | Vaadin | Icon | affected 25.3.0 25.3.6 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/vaadin/web-components/security/advisories/GHSA-4j9p-q6f9-vmwg | [email protected] | github.com | |
| vaadin.com/security/cve-2026-136173 | [email protected] | vaadin.com | |
| github.com/vaadin/web-components/pull/13398 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Arittro Sarkar (en)
Additional Advisory Data
Solutions
CNA: Users of affected versions should apply the following mitigation or upgrade.
Workarounds
CNA: 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.