CVE-2021-31411Vaadin Flow
High 7.8
Follow: this CVE · Vaadin · Vaadin Flow We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Flow.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| vaadin | flow | ≥ 2.0.9 < 2.5.3 |
| vaadin | flow | ≥ 3.0.0 ≤ 5.0.0 |
| vaadin | flow | ≥ 6.0.0 ≤ 6.0.6 |
| vaadin | vaadin | ≥ 14.0.3 < 14.5.3 |
| vaadin | vaadin | ≥ 15.0.0 < 19.0.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- vaadin.com Vendor Advisory