Vulnerability library
Security checkSeptember 11, 2023

CORS misconfiguration in socket.io

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmsocket.io

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The package socket.io before 2.4.0 are vulnerable to Insecure Defaults due to CORS Misconfiguration. All domains are whitelisted by default.

Recommendation

Update the socket.io package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2.4.0
  • Patched version(s): 2.4.0

References

Could your website be exposed too?

SmartScanner can check your website for CORS misconfiguration in socket.io and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 11, 2023