All reports
High

File restriction bypass in socket.io-file

Affected versions

Affected versions
<= 2.0.31
Fixed version
Not reported

Exploitation

CVE-2020-24807

Probability of exploitation in the next 30 days: 2.10%

FIRST EPSS · 2026-11-20

Description

All versions of socket.io-fileare 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.

No fix is currently available. Consider using an alternative package until a fix is made available.

Links