{"id":"CVE-2023-22477","aliases":["GHSA-cm8h-q92v-xcfc"],"url":"https://o3.security/vulnerability/CVE-2023-22477","summary":"Mercurius is vulnerable to denial of service (DoS) when using subscriptions","details":"Mercurius is a GraphQL adapter for Fastify. Any users of Mercurius until version 10.5.0 are subjected to a denial of service attack by sending a malformed packet over WebSocket to `/graphql`. This issue was patched in #940. As a workaround, users can disable subscriptions.\n\n","published":"2023-01-09T14:12:24.837Z","modified":"2026-08-12T03:51:20.467511309Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"mercurius","fixedVersion":"11.5.0"},{"ecosystem":"npm","name":"mercurius","fixedVersion":"8.13.2"}],"fix":{"url":"https://github.com/mercurius-js/mercurius/pull/940","label":"mercurius-js/mercurius#940"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22477.json"},{"type":"ADVISORY","url":"https://github.com/mercurius-js/mercurius/security/advisories/GHSA-cm8h-q92v-xcfc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22477"},{"type":"REPORT","url":"https://github.com/mercurius-js/mercurius/issues/939"},{"type":"FIX","url":"https://github.com/mercurius-js/mercurius/pull/940"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:20.467511309Z"}}