Vulnerability in Api-platform Core
CVE-2025-31485
API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Prior to 4.0.22 and 3.4.17, a GraphQL grant on a property might be cached with different objects. The ApiPlatform\GraphQl\Serializer\ItemNormalizer::isCacheKe…
EPSS: 0.005 (64.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Api-platform Core — versions >= 4.0.0-alpha.1, < 4.0.22, < 3.4.17
Weakness classification (CWE)
References
- https://github.com/api-platform/core/security/advisories/GHSA-428q-q3vv-3fq3 (x_refsource_CONFIRM)
- https://github.com/api-platform/core/commit/7af65aad13037d7649348ee3dcd88e084ef771f8 (x_refsource_MISC)
- https://github.com/api-platform/core/commit/cba3acfbd517763cf320167250c5bed6d569696a (x_refsource_MISC)
- https://github.com/api-platform/core/releases/tag/v3.4.17 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-31485?
- CVE-2025-31485 is a high-severity vulnerability in Api-platform Core, classified under CWE-696. CVSS score: 7.5/10. Published 2025-04-03.
- How severe is CVE-2025-31485?
- High severity. CVSS v3 base score is 7.5 out of 10.