Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. api-platform/core
  4. ›
  5. CVE-2025-23204

CVE-2025-23204: API Platform Core does not call GraphQl securityAfterResolver

March 24, 2025

A security check that gets called after GraphQl resolvers is always replaced by another one as there’s no break in this clause: https://github.com/api-platform/core/pull/6444/files#diff-09e3c2cfe12a2ce65bd6c983c7ca6bfcf783f852b8d0554bb938e8ebf5e5fa65R56 https://github.com/soyuka/core/blob/7e2e8f9ff322ac5f6eb5f65baf432bffdca0fd51/src/Symfony/Security/State/AccessCheckerProvider.php#L49-L57

References

  • github.com/advisories/GHSA-7mxx-3cgm-xxv3
  • github.com/api-platform/core
  • github.com/api-platform/core/commit/dc4fc84ba93e22b4f44a37e90a93c6d079c1c620
  • github.com/api-platform/core/pull/6444
  • github.com/api-platform/core/pull/6444/files
  • github.com/api-platform/core/security/advisories/GHSA-7mxx-3cgm-xxv3
  • github.com/soyuka/core/blob/7e2e8f9ff322ac5f6eb5f65baf432bffdca0fd51/src/Symfony/Security/State/AccessCheckerProvider.php
  • nvd.nist.gov/vuln/detail/CVE-2025-23204

Code Behaviors & Features

Detect and mitigate CVE-2025-23204 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.3.8 before 3.3.15

Fixed versions

  • 3.3.15

Solution

Upgrade to version 3.3.15 or above.

Impact 4.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-484: Omitted Break Statement in Switch

Source file

packagist/api-platform/core/CVE-2025-23204.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 00:14:59 +0000.