Vulnerability · Published Mar 24, 2025 · Assigned by GitHub_M
CVE-2025-23204GraphQl securityAfterResolver not called
Medium 4.4
In plain English
A medium-severity improper input validation in core from api-platform. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | api-platform/core | 3.3.15 | GHSA-7mxx-3cgm-xxv3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| api-platform | core | >= 3.3.8, < 3.3.15 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
References
- https://github.com/api-platform/core/security/advisories/GHSA-7mxx-3cgm-xxv3 x_refsource_CONFIRM
- https://github.com/api-platform/core/pull/6444 x_refsource_MISC
- https://github.com/api-platform/core/pull/6444/files#diff-09e3c2cfe12a2ce65bd6c983c7ca6bfcf783f852b8d0554bb938e8ebf5e5fa65R56 x_refsource_MISC
- https://github.com/api-platform/core/commit/dc4fc84ba93e22b4f44a37e90a93c6d079c1c620 x_refsource_MISC
- https://github.com/soyuka/core/blob/7e2e8f9ff322ac5f6eb5f65baf432bffdca0fd51/src/Symfony/Security/State/AccessCheckerProvider.php#L49-L57 x_refsource_MISC