Vulnerabilities/

Insufficient validation when decoding a Socket.IO packet - socket.io-parser

Severity:
High

Description

Due to improper type validation in the socket.io-parser library (which is used by the socket.io and socket.io-client packages to encode and decode Socket.IO packets), it is possible to overwrite the _placeholder object which allows an attacker to place references to functions at arbitrary places in the resulting query object.

Recommendation

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

References

Related Issues

Tags:
npm
socket.io-parser
Anything's wrong? Let us know Last updated on April 22, 2024