{"id":"CVE-2021-31411","aliases":["CVE-2021-31411","GHSA-p826-8vhq-h439"],"related":[],"kind":"vulnerability","state":"published","title":"Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\n- https://vaadin.com/security/cve-2021-31411","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un uso de directorio temporal no seguro en la funcionalidad frontend build de com.vaadin:flow-server versiones 2.0.9 hasta  2.5.2 (Vaadin versiones 14.0.3 hasta Vaadin 14.5.2), versiones 3.0 anteriores 6.0 (Vaadin versiones 15 anteriores a 19) y versiones 6.0 .0 hasta 6.0.5 (Vaadin versiones 19.0.0 hasta 19.0.4), permite a usuarios locales inyectar código malicioso en los recursos frontend durante la reconstrucción de la aplicación","source":"nvd"}],"published":"2021-05-05T18:15:13.220Z","modified":"2026-06-17T03:51:43.947Z","severity":{"scorer":"Vaadin","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"Vaadin","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","score":4.6,"rating":"MEDIUM"}],"cwes":["CWE-379"],"affected":[{"ranges":[{"type":"custom","introduced":"14.0.3","fixed":"*","status":"affected"}],"vendor":"Vaadin","product":"Vaadin","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"2.0.9","fixed":"*","status":"affected"}],"vendor":"Vaadin","product":"flow-server","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"14.0.3","status":"affected","fixed":"14.5.3"}],"ecosystem":"Maven","package":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"15.0.0","status":"affected","fixed":"19.0.5"}],"ecosystem":"Maven","package":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.9","fixed":"2.5.3"},{"status":"affected","introduced":"3.0.0","lastAffected":"5.0.0"},{"status":"affected","introduced":"6.0.0","lastAffected":"6.0.6"}],"vendor":"vaadin","product":"flow","cpe":"cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"14.0.3","fixed":"14.5.3"},{"status":"affected","introduced":"15.0.0","fixed":"19.0.5"}],"vendor":"vaadin","product":"vaadin","cpe":"cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vaadin.com/security/cve-2021-31411","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vaadin/flow/pull/10640","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vaadin/platform/security/advisories/GHSA-p826-8vhq-h439","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31411","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"Vaadin","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-31411","url":"https://www.cve.org/CVERecord?id=CVE-2021-31411","licence":"CVE Terms of Use","modified":"2024-09-16T18:08:17.789Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p826-8vhq-h439","url":"https://github.com/advisories/GHSA-p826-8vhq-h439","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:48.589Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-31411","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31411","licence":"Public domain","modified":"2026-06-17T03:51:43.947Z"}],"updatedAt":"2026-11-25T22:58:01.150Z","epss":{"score":0.00257,"percentile":0.10601,"date":"2026-11-30T12:00:22.000Z"}}