{"id":"GHSA-6495-8jvh-f28x","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.","aliases":["CVE-2020-24807"],"modified":"2026-05-04T08:46:09.191606680Z","published":"2020-10-02T15:39:54Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-10-02T15:36:34Z","nvd_published_at":null,"cwe_ids":["CWE-20"]},"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"}],"affected":[{"package":{"name":"socket.io-file","ecosystem":"npm","purl":"pkg:npm/socket.io-file"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.31"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/10/GHSA-6495-8jvh-f28x/GHSA-6495-8jvh-f28x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}