# CVE-2023-40180: Denial of service vulnerability in silverstripe-graphql via recursive queries

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 67% of CVEs (2026-12-01)
- Published: 2023-10-16T18:05:14.806Z
- Modified: 2026-09-10T03:49:24.674Z
- Also known as: GHSA-v23w-pppm-jh66
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- silverstripe silverstripe-graphql: >= 3.0.0, < 3.8.2; >= 4.0.0, < 4.1.3; >= 4.2.0, < 4.2.5; >= 4.3.0, < 4.3.4; >= 5.0.0, < 5.0.3
- silverstripe/graphql (Packagist): from 3.0.0 before 3.8.2; from 4.0.0 before 4.1.3; from 4.2.0 before 4.2.5; from 4.3.0 before 4.3.4; from 5.0.0 before 5.0.3
- silverstripe graphql: from 3.0.0 before 3.8.2; from 4.0.0 before 4.1.3; from 4.2.0 before 4.2.5; from 4.3.0 before 4.3.4; from 5.0.0 before 5.0.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/silverstripe/silverstripe-graphql/security/advisories/GHSA-v23w-pppm-jh66> (third-party-advisory, web)
- <https://github.com/silverstripe/silverstripe-graphql/commit/f6d5976ec4608e51184b0db1ee5b9e9a99d2501c> (patch, web)
- <https://docs.silverstripe.org/en/developer_guides/graphql/security_and_best_practices/recursive_or_complex_queries> (mitigation, web)
- <https://github.com/silverstripe/silverstripe-graphql/tree/3.8#recursive-or-complex-queries> (third-party-advisory, web)
- <https://www.silverstripe.org/download/security-releases/CVE-2023-40180> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40180> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2023-40180.yaml> (web)
- <https://github.com/silverstripe/silverstripe-graphql> (package)

## Sources

- CVE List: [CVE-2023-40180](https://www.cve.org/CVERecord?id=CVE-2023-40180), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-v23w-pppm-jh66](https://github.com/advisories/GHSA-v23w-pppm-jh66), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-40180](https://nvd.nist.gov/vuln/detail/CVE-2023-40180), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40180 · Whole record: https://cve.day/CVE-2023-40180.json · Rebuilt by cve.day 2026-11-25T22:58:28.812Z
