CVE-2023-47639 API Platform Core can leak exceptions message that may contain sensitive information

Medium 5.3 Published Updated

Attackers can view sensitive exception messages in JSON error responses, potentially exposing internal system details.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-47639?

CVE-2023-47639 is a medium-severity vulnerability in api-platform core, published on 3 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. From 3.2.0 until 3.2.4, exception messages, that are not HTTP exceptions, are visible in the JSON error response. This vulnerability is fixed in 3.2.5.

Weakness: CWE-209

Which versions are affected by CVE-2023-47639?

2 open source packages ship an affected version, including api-platform/core.

PackageAffectedFixed in
api-platform/core PackagistFrom 3.2.03.2.5
api-platform/core PackagistFrom 3.2.03.2.5

How do I fix CVE-2023-47639?

Upgrade api-platform/core to 3.2.5 or later.

Is CVE-2023-47639 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-47639 exists.

Sources

Also known as GHSA-rfw5-cqjj-7v9r.

Is CVE-2023-47639 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free