cvelo
P3 · MediumCVSS 4.8EPSS 0.3%

Unescaped Download File Name Allows Content-Disposition Parameter Injection in Vaadin Flow

  • CVE-2026-120326
  • EUVD-2026-120893

Description

Show the whole description

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.

Text from the CVE.org record.

Recommendation

  • vaadin

    • If you run 25.3.xupdate to 25.3.5 or laterPatch update: breaking changes are unlikely
    • If you run 25.2.xupdate to 25.2.13 or laterPatch update: breaking changes are unlikely
    • If you run 24.10.xupdate to 24.10.14 or laterPatch update: breaking changes are unlikely
    • If you run 24.9.xupdate to 24.9.26 or laterPatch update: breaking changes are unlikely

    Some affected versions have no stated fix.

  • vaadin flow

    • If you run 25.3.xupdate to 25.3.6 or laterPatch update: breaking changes are unlikely
    • If you run 25.2.xupdate to 25.2.16 or laterPatch update: breaking changes are unlikely
    • If you run 24.10.xupdate to 24.10.17 or laterPatch update: breaking changes are unlikely
    • If you run 24.9.xupdate to 24.9.31 or laterPatch update: breaking changes are unlikely

    Some affected versions have no stated fix.

  • vaadin vaadin-core

    • If you run 25.3.xupdate to 25.3.5 or laterPatch update: breaking changes are unlikely
    • If you run 25.2.xupdate to 25.2.13 or laterPatch update: breaking changes are unlikely
    • If you run 24.10.xupdate to 24.10.14 or laterPatch update: breaking changes are unlikely
    • If you run 24.9.xupdate to 24.9.26 or laterPatch update: breaking changes are unlikely

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • vaadin

    Affected versionsFixed in
    from 25.3.0 to before 25.3.525.3.5
    from 25.2.0 to before 25.2.1325.2.13
    from 24.10.0 to before 24.10.1424.10.14
    from 24.9.0 to before 24.9.2624.9.26
    from 24.8.0 up to 24.8.17none stated
    from 25.0.0 up to 25.0.13none stated
    from 25.1.0 up to 25.1.13none stated
  • vaadin flow

    Affected versionsFixed in
    from 25.3.0 to before 25.3.625.3.6
    from 25.2.0 to before 25.2.1625.2.16
    from 24.10.0 to before 24.10.1724.10.17
    from 24.9.0 to before 24.9.3124.9.31
    from 24.8.0 up to 24.8.16none stated
    from 25.0.0 up to 25.0.15none stated
    from 25.1.0 up to 25.1.19none stated
  • vaadin vaadin-core

    Affected versionsFixed in
    from 25.3.0 to before 25.3.525.3.5
    from 25.2.0 to before 25.2.1325.2.13
    from 24.10.0 to before 24.10.1424.10.14
    from 24.9.0 to before 24.9.2624.9.26
    from 24.8.0 up to 24.8.17none stated
    from 25.0.0 up to 25.0.13none stated
    from 25.1.0 up to 25.1.13none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.