Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
4.4
CVE-2025-23204: API Platform Core may skip post-resolver security check
CVE-2025-23204 · published 1 year ago
Summary
The API Platform Core library version 3.3.8 and later can replace a security check that should run after a GraphQL query with a different check, effectively ignoring the intended restriction. This means that any custom security rule meant to be applied after the query may not be enforced, potentially exposing data. Upgrade to version 3.3.15 or later to restore the correct security behavior.
What to do
- Update api-platform core to version 3.3.15.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| composer | api-platform | core |
>= 3.3.8, < 3.3.15 Fix: upgrade to 3.3.15
|
Original advisory text
GraphQl securityAfterResolver not called
API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Starting in version 3.3.8, a security check that gets called after GraphQl resolvers is always replaced by another one as there's no break in a clause. As this falls back to `security`, the impact is there only when there's only a security after resolver and none inside security. Version 3.3.15 contains a patch for the issue.
References
- https://github.com/advisories/GHSA-7mxx-3cgm-xxv3
- https://github.com/api-platform/core/pull/6444/files#diff-09e3c2cfe12a2ce65bd6c9... URL
- https://github.com/soyuka/core/blob/7e2e8f9ff322ac5f6eb5f65baf432bffdca0fd51/src... URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23204... Vendor Advisory
- https://github.com/api-platform/core/security/advisories/GHSA-7mxx-3cgm-xxv3 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-23204 Vendor Advisory
- https://github.com/api-platform/core/commit/dc4fc84ba93e22b4f44a37e90a93c6d079c1... Patch
- https://github.com/api-platform/core/pull/6444 Patch
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-20Improper Input Validation
CWE-484Omitted Break Statement in Switch
Timeline
Published24 Mar 2025
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta