{"id":"CVE-2023-40180","aliases":["CVE-2023-40180","GHSA-v23w-pppm-jh66"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of service vulnerability in silverstripe-graphql via recursive queries","summary":"silverstripe-graphql is a package which serves Silverstripe data in GraphQL representations. An attacker could use a recursive graphql query to execute a Distributed Denial of Service attack (DDOS attack) against a website. This mostly affects websites with publicly exposed graphql schemas. If your Silverstripe CMS project does not expose a public facing graphql schema, a user account is required to trigger the DDOS attack. If your site is hosted behind a content delivery network (CDN), such as Imperva or CloudFlare, this may further mitigate the risk. This issue has been addressed in versions 3.8.2, 4.1.3, 4.2.5, 4.3.4, and 5.0.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"silverstripe-graphql is a package which serves Silverstripe data in GraphQL representations. An attacker could use a recursive graphql query to execute a Distributed Denial of Service attack (DDOS attack) against a website. This mostly affects websites with publicly exposed graphql schemas. If your Silverstripe CMS project does not expose a public facing graphql schema, a user account is required to trigger the DDOS attack. If your site is hosted behind a content delivery network (CDN), such as Imperva or CloudFlare, this may further mitigate the risk. This issue has been addressed in versions 3.8.2, 4.1.3, 4.2.5, 4.3.4, and 5.0.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Impact\nAn attacker could use a recursive graphql query to execute a Distributed Denial of Service attack (DDOS attack) against a website. This mostly affects websites with publicly exposed graphql schemas.\n\nIf your Silverstripe CMS project does not expose a public facing graphql schema, a user account is required to trigger the DDOS attack. If your site is hosted behind a content delivery network (CDN), such as Imperva or CloudFlare, this may further mitigate the risk.\n\nThe fix includes some new configuration options which you might want to tweak for your project, based on your own requirements. See the documentation in the references for details.\n\n### Patches\nPatched in [3.8.2](https://github.com/silverstripe/silverstripe-graphql/releases/tag/3.8.2), [4.1.3](https://github.com/silverstripe/silverstripe-graphql/releases/tag/4.1.3), [4.2.5](https://github.com/silverstripe/silverstripe-graphql/releases/tag/4.2.5), [4.3.4](https://github.com/silverstripe/silverstripe-graphql/releases/tag/4.3.4), [5.0.3](https://github.com/silverstripe/silverstripe-graphql/releases/tag/5.0.3)\n\n### References\n- [CVE-2023-40180 on silverstripe.org](https://www.silverstripe.org/download/security-releases/CVE-2023-40180)\n- [Documentation about protection against recursive or complex queries for silverstripe/graphql 4.x/5.x](https://docs.silverstripe.org/en/developer_guides/graphql/security_and_best_practices/recursive_or_complex_queries)\n- [Documentation about protection against recursive or complex queries for silverstripe/graphql 3.x](https://github.com/silverstripe/silverstripe-graphql/tree/3.8#recursive-or-complex-queries)\n\n### Reported by\nJason Nguyen from phew (https://phew.co.nz/)","format":"markdown","source":"ghsa"},{"lang":"es","text":"silverstripe-graphql es un paquete que proporciona datos de Silverstripe en representaciones GraphQL. Un atacante podría utilizar una consulta Graphql recursiva para ejecutar un ataque de Denegación de Servicio Distribuido (ataque DDOS) contra un sitio web. Esto afecta principalmente a sitios web con esquemas Graphql expuestos públicamente. Si su proyecto Silverstripe CMS no expone un esquema Graphql público, se requiere una cuenta de usuario para desencadenar el ataque DDOS. Si su sitio está alojado detrás de una Red de Entrega de Contenido (CDN), como Imperva o CloudFlare, esto puede mitigar aún más el riesgo. Este problema se solucionó en las versiones 3.8.2, 4.1.3, 4.2.5, 4.3.4 y 5.0.3. Se recomienda a los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.","source":"nvd"}],"published":"2023-10-16T18:05:14.806Z","modified":"2026-09-10T03:49:24.674Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.8.2","status":"affected"},{"version":">= 4.0.0, < 4.1.3","status":"affected"},{"version":">= 4.2.0, < 4.2.5","status":"affected"},{"version":">= 4.3.0, < 4.3.4","status":"affected"},{"version":">= 5.0.0, < 5.0.3","status":"affected"}],"vendor":"silverstripe","product":"silverstripe-graphql","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.8.2"}],"ecosystem":"Packagist","package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.1.3"}],"ecosystem":"Packagist","package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0","status":"affected","fixed":"4.2.5"}],"ecosystem":"Packagist","package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.3.0","status":"affected","fixed":"4.3.4"}],"ecosystem":"Packagist","package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.3"}],"ecosystem":"Packagist","package":"silverstripe/graphql","purl":"pkg:composer/silverstripe/graphql","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.8.2"},{"status":"affected","introduced":"4.0.0","fixed":"4.1.3"},{"status":"affected","introduced":"4.2.0","fixed":"4.2.5"},{"status":"affected","introduced":"4.3.0","fixed":"4.3.4"},{"status":"affected","introduced":"5.0.0","fixed":"5.0.3"}],"vendor":"silverstripe","product":"graphql","cpe":"cpe:2.3:a:silverstripe:graphql:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/silverstripe/silverstripe-graphql/security/advisories/GHSA-v23w-pppm-jh66","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/silverstripe/silverstripe-graphql/commit/f6d5976ec4608e51184b0db1ee5b9e9a99d2501c","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://docs.silverstripe.org/en/developer_guides/graphql/security_and_best_practices/recursive_or_complex_queries","tags":["mitigation","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/silverstripe/silverstripe-graphql/tree/3.8#recursive-or-complex-queries","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.silverstripe.org/download/security-releases/CVE-2023-40180","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40180","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2023-40180.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-graphql","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-16T17:21:23.949Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40180","url":"https://www.cve.org/CVERecord?id=CVE-2023-40180","licence":"CVE Terms of Use","modified":"2024-09-16T17:21:39.838Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v23w-pppm-jh66","url":"https://github.com/advisories/GHSA-v23w-pppm-jh66","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:24.674Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40180","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40180","licence":"Public domain","modified":"2026-06-17T06:16:35.370Z"}],"updatedAt":"2026-11-25T22:58:28.812Z","epss":{"score":0.01126,"percentile":0.67237,"date":"2026-12-01T12:00:22.000Z"}}