api-platform/core vulnerabilities

Build a fully-featured hypermedia or GraphQL API in minutes!

Registry
Composer
Latest
5.0.8
License
MIT

8 known advisories

The latest version, 5.0.8, is not affected by any of them. Projects on older versions may be.

Update to the latest version:composer require api-platform/core:^5.0.8

Is your project on an affected api-platform/core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for api-platform/core

  • MediumCVE-2026-54164GHSA-9rjg-x2p2-h68h7 Aug 2026

    API Platform Core: Relation IRIs are not type-checked: a related resource can be denormalised as the wrong resource type (type confusion)

    Affected
    <4.1.30 · >=4.2.0 <4.2.26 · >=4.3.0 <4.3.12
    Fixed in
    4.1.30, 4.2.26, 4.3.12
  • MediumCVE-2026-49858GHSA-pjhx-3c3w-9v2310 Jul 2026

    API Platform Core vulnerable to cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate

    Affected
    >=2.6.0 <4.1.29 · >=4.2.0 <4.2.25 · >=4.3.0 <4.3.8
    Fixed in
    4.1.29, 4.2.25, 4.3.8
  • HighCVE-2025-31485GHSA-428q-q3vv-3fq34 Apr 2025

    GraphQL grant on a property might be cached with different objects

    Affected
    >=4.0.0-alpha.1 <4.0.22 · <3.4.17 · >=4.1.0-alpha.1 <4.1.5
    Fixed in
    3.4.17, 4.0.22, 4.1.5
  • HighCVE-2025-31481GHSA-cg3c-245w-728m4 Apr 2025

    GraphQL query operations security can be bypassed

    Affected
    >=4.0.0-alpha.1 <4.0.22 · <3.4.17 · >=4.1.0-alpha.1 <4.1.5
    Fixed in
    3.4.17, 4.0.22, 4.1.5
  • MediumCVE-2023-47639GHSA-rfw5-cqjj-7v9r3 Apr 2025

    API Platform Core can leak exceptions message that may contain sensitive information

    Affected
    >=3.2.0 <3.2.5
    Fixed in
    3.2.5
  • MediumCVE-2025-23204GHSA-7mxx-3cgm-xxv324 Mar 2025

    API Platform Core does not call GraphQl securityAfterResolver

    Affected
    >=3.3.8 <3.3.15
    Fixed in
    3.3.15
  • HighCVE-2023-25575GHSA-vr2x-7687-h6qv28 Feb 2023

    api-platform/core's secured properties may be accessible within collections

    Affected
    >=3.0.0 <3.0.12 · >=3.1.0 <3.1.3 · >=2.6.0 <2.7.10
    Fixed in
    2.7.10, 3.0.12, 3.1.3
  • MediumCVE-2019-1000011GHSA-974j-wjxx-wggj14 Oct 2019

    Incorrect Access Control vulnerability in api-platform/core

    Affected
    >=2.2.0 <2.2.10 · >=2.3.0 <2.3.6
    Fixed in
    2.2.10, 2.3.6

Is your api-platform/core version vulnerable?

Which of your client projects still run an old api-platform/core?

NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Composer packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.