What’s Vulnerable › Vulnerabilities
CVE-2021-31412: Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10, 11-14, and 15-19
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-06-24 · updated 2026-06-17
- Weakness: CWE-1295
Description
Improper sanitization of path in default RouteNotFoundError view in com.vaadin:flow-server versions 1.0.0 through 1.0.14 (Vaadin 10.0.0 through 10.0.18), 1.1.0 prior to 2.0.0 (Vaadin 11 prior to 14), 2.0.0 through 2.6.1 (Vaadin 14.0.0 through 14.6.1), and 3.0.0 through 6.0.9 (Vaadin 15.0.0 through 19.0.8) allows network attacker to enumerate all available routes via crafted HTTP request when application is running in production mode and no custom handler for NotFoundException is provided.
Affected products
- vaadin flow: from 1.0.0 through 1.0.14; from 1.1.0 through 1.4.0; from 2.0.0 through 2.6.1; from 3.0.0 through 5.0.0; from 6.0.0 through 6.0.9
- Vaadin: from 10.0.0 through 10.0.18; from 11.0.0 through 13.0.0; from 14.0.0 through 14.6.1; from 15.0.0 through 18.0.0; from 19.0.0 through 19.0.8
References
- https://github.com/vaadin/flow/pull/11107
- https://vaadin.com/security/cve-2021-31412
- https://github.com/vaadin/flow/pull/11107
- https://vaadin.com/security/cve-2021-31412
Get alerted when CVE-2021-31412 or the next vulnerability affects your stack