BreachSpiderVerified, not vibes

CVE-2023-25575 in Api-Platform Core

Medium 6.5

API Platform Core is the server component of API Platform: hypermedia and GraphQL APIs. Resource properties secured with the `security` option of the `ApiPlatform\Metadata\ApiProperty` attribute can be disclosed to unauthorized users. The problem affects most serialization formats, including raw JSON, which is enabl...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.5
EPSS0.6%
EPSS percentile45th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Api-Platform Core ≥ 2.6.0, < 2.7.10 ≥ 3.0.0, < 3.0.12 ≥ 3.1.0, < 3.1.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

API Platform Core is the server component of API Platform: hypermedia and GraphQL APIs. Resource properties secured with the `security` option of the `ApiPlatform\Metadata\ApiProperty` attribute can be disclosed to unauthorized users. The problem affects most serialization formats, including raw JSON, which is enabled by default when installing API Platform. Custom serialization formats may also be impacted. Only collection endpoints are affected by the issue, item endpoints are not. The JSON-LD format is not affected by the issue. The result of the security rule is only executed for the first item of the collection. The result of the rule is then cached and reused for the next items. This bug can leak data to unauthorized users when the rule depends on the value of a property of the item. This bug can also hide properties that should be displayed to authorized users. This issue impacts the 2.7, 3.0 and 3.1 branches. Please upgrade to versions 2.7.10, 3.0.12 or 3.1.3. As a workaround, replace the `cache_key` of the context array of the Serializer inside a custom normalizer that works on objects if the security option of the `ApiPlatform\Metadata\ApiProperty` attribute is used.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-25575
BreachSpider IDBS-2023-GLOBAL-061178-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Published2023-02-28
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-842: CWE-842

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Analysis AI-written, not human-reviewed

CVE-2023-25575 affects API Platform Core, where resource properties secured with the `security` option of the `ApiPlatform\Metadata\ApiProperty` attribute can be disclosed to unauthorized users.

The vulnerability arises from improper handling of the `security` option in the `ApiPlatform\Metadata\ApiProperty` attribute, allowing unauthorized access to resource properties that should be protected. This can occur across various serialization formats, including the default raw JSON format.

Questions

What is CVE-2023-25575?

CVE-2023-25575 affects API Platform Core, where resource properties secured with the `security` option of the `ApiPlatform\Metadata\ApiProperty` attribute can be disclosed to unauthorized users.

What is the CVSS score for CVE-2023-25575?

CVE-2023-25575 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.6%.

Is CVE-2023-25575 actively exploited?

No confirmed active exploitation of CVE-2023-25575 as of 2026-09-25.

How do I remediate CVE-2023-25575?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2023-25575?

CVE-2023-25575 affects Api-Platform Core.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Api-Platform","product":"Core","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.