{"cve":"CVE-2021-31411","nvd":{"published":"2021-05-05T19:15:08.777","modified":"2026-06-17T03:51:43.947","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-379"],"references":["https://github.com/vaadin/flow/pull/10640","https://vaadin.com/security/cve-2021-31411","https://github.com/vaadin/flow/pull/10640","https://vaadin.com/security/cve-2021-31411"],"products":["vaadin:flow","vaadin:vaadin"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-31411","score":0.00231,"percentile":0.14063,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p826-8vhq-h439","url":"https://osv.dev/vulnerability/GHSA-p826-8vhq-h439","summary":"Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19","modified":"2023-11-08T04:05:48.589209Z","packages":[{"ecosystem":"Maven","name":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","ranges":[">=14.0.3 <14.5.3"],"fixed":["14.5.3"]},{"ecosystem":"Maven","name":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","ranges":[">=15.0.0 <19.0.5"],"fixed":["19.0.5"]}]}],"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."]}