CVE-2026-120326: Unescaped Download File Name Allows Content-Disposition Parameter Injection in Vaadin Flow

Published Nov 10, 2026
·
Updated

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.

Affected Software

1 affected component
Vaadin Vaadin Flow>=24.8.0<=24.8.17, >=24.9.0<=24.9.25, >=24.10.0<=24.10.13, >=25.0.0<=25.0.13, >=25.1.0<=25.1.13, >=25.2.0<=25.2.12, >=25.3.0<=25.3.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vaadin Flow to a version that resolves this vulnerability.

    Fixed in 24.10.14
  2. Upgrade

    Upgrade Vaadin Flow to a version that resolves this vulnerability.

    Fixed in 24.9.26
  3. Upgrade

    Upgrade Vaadin Flow to a version that resolves this vulnerability.

    Fixed in 25.2.13
  4. Upgrade

    Upgrade Vaadin Flow to a version that resolves this vulnerability.

    Fixed in 25.3.5

Event History

Nov 10, 2026
CVE Published
via MITRE·11:49 AM
Data Sourced
via MITRE·11:49 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed?

Applications are exposed when they pass an untrusted file name to DownloadEvent.setFileName(String), such as a name supplied with an uploaded file that is later re-served for download. The inline(String) path can also be exposed; it is present from Vaadin 25.0.

2

What must an attacker control to exploit this?

The attacker must be able to influence the file name provided to the download API and include a double quote followed by additional Content-Disposition parameters. This can be used to add a filename* parameter, which browsers prefer over filename.

3

What is the practical impact and what are the limits?

An attacker can cause the browser to save the download using an attacker-chosen name and extension, bypassing application restrictions based on file names or extensions. They cannot change the attachment or inline disposition and cannot split the HTTP header.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203