CVE-2025-31485

HIGH EPSS 32.8%
Published Apr 3, 20251y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
High
Find Similar
Published Apr 3, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
7.5
Exploitability
3.9
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
32.8% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-696

References 4

  • github.com https://github.com/api-platform/core/commit/7af65aad13037d7649348ee3dcd88e084ef771f8
  • github.com https://github.com/api-platform/core/commit/cba3acfbd517763cf320167250c5bed6d569696a
  • github.com https://github.com/api-platform/core/releases/tag/v3.4.17
  • github.com https://github.com/api-platform/core/security/advisories/GHSA-428q-q3vv-3fq3

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.