Vulnerabilities/

ws: Uninitialized memory disclosure

Severity:
Medium

Description

The websocket.close() implementation is vulnerable to uninitialized memory disclosure when a TypedArray is passed as the reason argument.

Recommendation

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

References

Related Issues

Tags:
npm
ws
Anything's wrong? Let us know Last updated on May 18, 2026