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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.20% (percentile 68, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** GHSA-v23w-pppm-jh66
- **Published:** 2023-10-16T18:05:14.806Z
- **Modified:** 2026-09-10T03:49:24.674Z

## Who should check

- Projects that depend on Packagist package silverstripe/graphql (\>= 3.0.0, \< 3.8.2)
- Anyone running 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

## 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.

## Affected and fixed versions

- Packagist `silverstripe/graphql`: affected \>= 3.0.0, \< 3.8.2; fixed 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3 (osv)
- 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 (cvelist)

## Mitigation

- Upgrade silverstripe/graphql to one of 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-40180. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-40180.md
Affected: silverstripe/graphql >= 3.0.0, < 3.8.2
Fixed in: 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3

Steps:
1. Search this machine and project for silverstripe/graphql (Packagist), silverstripe-graphql: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-40180 being exploited?

There is no confirmed exploitation: CVE-2023-40180 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-40180?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-40180?

silverstripe/graphql \>= 3.0.0, \< 3.8.2.

### Is there a fix for CVE-2023-40180?

Yes. Fixed in 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3. Upgrade silverstripe/graphql to one of 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-40180?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-40180>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-v23w-pppm-jh66> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-40180> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-40180>
