{"cve":"CVE-2021-31412","nvd":{"published":"2021-06-24T12:15:08.090","modified":"2026-06-17T03:51:44.080","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-20","CWE-1295"],"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"],"products":["vaadin:flow","vaadin:vaadin"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-31412","score":0.01318,"percentile":0.70805,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qrg9-f472-qwfm","url":"https://osv.dev/vulnerability/GHSA-qrg9-f472-qwfm","summary":"Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10, 11-14, and 15-19","modified":"2023-11-08T04:05:48.650539Z","packages":[{"ecosystem":"Maven","name":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","ranges":[">=10.0.0 <10.0.19"],"fixed":["10.0.19"]},{"ecosystem":"Maven","name":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","ranges":[">=11.0.0 <14.6.2"],"fixed":["14.6.2"]},{"ecosystem":"Maven","name":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","ranges":[">=15.0.0 <19.0.9"],"fixed":["19.0.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}