cve.bz

CVE-2026-120326

4.8 medium

Medium (4.8) in vaadin.

On this page
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.

Severity

CVSS 4.0

4.8 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
CWE
CWE-116 Improper Encoding or Escaping of Output
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
Vaadin (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-120326 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120326?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120326?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-120326 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
vaadinfrom 24.8.0 through 24.8.17
vaadinfrom 24.9.0 before 24.9.26
vaadinfrom 24.10.0 before 24.10.14
vaadinfrom 25.0.0 through 25.0.13
vaadinfrom 25.1.0 through 25.1.13
vaadinfrom 25.2.0 before 25.2.13
vaadinfrom 25.3.0 before 25.3.5
vaadin-corefrom 24.8.0 through 24.8.17
vaadin-corefrom 24.9.0 before 24.9.26
vaadin-corefrom 24.10.0 before 24.10.14
vaadin-corefrom 25.0.0 through 25.0.13
vaadin-corefrom 25.1.0 through 25.1.13
vaadin-corefrom 25.2.0 before 25.2.13
vaadin-corefrom 25.3.0 before 25.3.5
vaadin flowfrom 24.8.0 through 24.8.16
vaadin flowfrom 24.9.0 before 24.9.31
vaadin flowfrom 24.10.0 before 24.10.17
vaadin flowfrom 25.0.0 through 25.0.15
vaadin flowfrom 25.1.0 through 25.1.19
vaadin flowfrom 25.2.0 before 25.2.16
vaadin flowfrom 25.3.0 before 25.3.6

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON