CVE-2025-31485
Last modified
CVE-2025-31485 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-31485?
How severe is CVE-2025-31485?
How do I fix CVE-2025-31485?
Are you affected by CVE-2025-31485?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
