{"id":"CVE-2020-24807","aliases":[],"url":"https://o3.security/vulnerability/CVE-2020-24807","summary":"File restriction bypass in socket.io-file","details":"All versions of `socket.io-file`are vulnerable to a file restriction bypass. The validation for valid file types only happens on the client-side, which allows an attacker to intercept the Websocket request post-validation and alter the `name` value to upload any file types.\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","published":"2020-10-02T15:39:54Z","modified":"2026-05-04T08:46:09.191606680Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"socket.io-file","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24807"},{"type":"PACKAGE","url":"https://github.com/rico345100/socket.io-file"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1564"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-05-04T08:46:09.191606680Z"}}