Packages

@hono/node-server

2.1.9 · 17 Nov 2026MIT105.3M / weekRepositorynpmAtom feed

Your version

2.1.10

20 Nov 2026Where it was published

2.1.11 is the newest release of 2.x.

In short

2 security

  • Security

    WebSocket upgrade listener leaves non-WebSocket Upgrade requests open, leading to socket exhaustion

  • Security

    Affects: applications that use the websocket option. The upgrade listener ignored requests whose Upgrade header was not websocket, so the socket stayed open until the client closed it. A client could hold many connections open this way, and clients that try an HTTP/2 upgrade over plain HTTP hung. GHSA-8wcc-wqxr-28qp

Release note

Security fix

WebSocket upgrade listener leaves non-WebSocket Upgrade requests open, leading to socket exhaustion

Affects: applications that use the websocket option. The upgrade listener ignored requests whose Upgrade header was not websocket, so the socket stayed open until the client closed it. A client could hold many connections open this way, and clients that try an HTTP/2 upgrade over plain HTTP hung. GHSA-8wcc-wqxr-28qp

Such a request is now answered with 400 Bad Request and the socket is closed, unless the application registers its own upgrade listener.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.