Live threats

All CVEs / Vaadin

CVE-2021-31411Vaadin Flow

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.3%
probability of exploitation in 30 days · percentile 11
Auth required
Yes
Published
May 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-379
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Insecure temporary directory usage in frontend build functionality of com.vaadin:flow-server versions 2.0.9 through 2.5.2 (Vaadin 14.0.3 through Vaadin 14.5.2), 3.0 prior to 6.0 (Vaadin 15 prior to 19), and 6.0.0 through 6.0.5 (Vaadin 19.0.0 through 19.0.4) allows local users to inject malicious code into frontend resources during application rebuilds.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flow.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.vaadin:vaadin-bom ≥ 14.0.3 < 14.5.3 14.5.3 —
Maven com.vaadin:vaadin-bom ≥ 15.0.0 < 19.0.5 19.0.5 —

Per OSV / GitHub Advisories (GHSA-p826-8vhq-h439). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vaadinflow≥ 2.0.9 < 2.5.3
vaadinflow≥ 3.0.0 ≤ 5.0.0
vaadinflow≥ 6.0.0 ≤ 6.0.6
vaadinvaadin≥ 14.0.3 < 14.5.3
vaadinvaadin≥ 15.0.0 < 19.0.5

Official sources

References

Links published by the sources. Open them with care.