Unescaped Download File Name Allows Content-Disposition Parameter Injection in Vaadin Flow
CVE-2026-120326Published 10 Nov 2026, 11:49 UTC
Real-world risk
1.1/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
4.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from Vaadin)
DownloadEvent.setFileName(String) in Vaadin Flow writes the download file name into the Content-Disposition header without escaping it. When the name is pure US-ASCII the header is built as attachment; filename="<name>" with the name inserted verbatim, so a double quote in the name ends the quoted string early and the rest of the name is read by the browser as further header parameters. The inline(String) variant, present from Vaadin 25.0, builds the name the same way. An application that passes an untrusted file name to either method, for example when re-serving a file under the name it was uploaded with, lets an attacker add a filename* parameter. Browsers prefer filename* over filename, so the file is saved under a name and extension of the attacker's choosing, which defeats any file name or extension restriction the application enforces. The attacker cannot change the attachment or inline disposition itself and cannot split the header. Users of affected versions should apply the following mitigation or upgrade. Releases that have fixed this issue include: Product version Vaadin 24.8.0 - 24.8.17 Vaadin 24.9.0 - 24.9.25 Vaadin 24.10.0 - 24.10.13 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 24.9.26 or newer Upgrade to 24.9.26 Upgrade to 24.10.14 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 Vaadin versions below 24.8 are not affected: the DownloadEvent API does not exist in them.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| flowNiche | >= 24.8.0, <= 24.8.16; >= 24.9.0, < 24.9.31; >= 24.10.0, < 24.10.17; >= 25.0.0, <= 25.0.15; >= 25.1.0, <= 25.1.19; >= 25.2.0, < 25.2.16; >= 25.3.0, < 25.3.6 | 24.9.31, 24.10.17, 25.2.16, 25.3.6 |
| vaadinNiche | >= 24.8.0, <= 24.8.17; >= 24.9.0, < 24.9.26; >= 24.10.0, < 24.10.14; >= 25.0.0, <= 25.0.13; >= 25.1.0, <= 25.1.13; >= 25.2.0, < 25.2.13; >= 25.3.0, < 25.3.5 | 24.9.26, 24.10.14, 25.2.13, 25.3.5 |
What to do
Update to a fixed version: 24.9.31, 24.10.17, 25.2.16, 25.3.6, 24.9.26, 24.10.14, 25.2.13, 25.3.5.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 24), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.420
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.42 × threat 0.851.071
- Rounded to one decimal between 0.1 and 101.1
Exploitation and evidence timeline
- 10 Nov 2026 Published
- 3 Dec 2026 Risk 1.1 (cvss fallback)
Weakness
CWE-116