PoC Monitor
← All CVEs
CVE-2025-31485published 3 Apr 2025 19:31 UTCData: JSON · API

Api-platform core

GraphQL grant on a property might be cached with different objects

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::isCacheKeySafe() method is meant to prevent the caching but the parent::normalize method that is called afterwards still creates the cache key and causes the issue. This vulnerability is fixed in 4.0.22 and 3.4.17.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-696
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

api-platform core
  • >= 4.0.0-alpha.1, < 4.0.22
  • < 3.4.17

Fixed in 4.0.22, 3.4.17

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Apr 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.