Loading advisory.
Loading advisory.
API Platform Core can leak exceptions message that may contain sensitive information
Exception messages, that are not HTTP exceptions, are visible in the JSON error response.
Published 2025-04-03 13:02 UTC · Modified 2025-04-04 02:19 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| api-platform/core | Packagist | >= 3.2.0, < 3.2.5 versions v3.2.0, v3.2.1, v3.2.2, v3.2.3, v3.2.4 | 3.2.5 | composer require 'api-platform/core:>=3.2.5' |
Exception messages, that are not HTTP exceptions, are visible in the JSON error response.
While we wanted to make our errors compatible with the JSON Problem specification, we ended up handling more exceptions then we did previously (introduced at https://github.com/api-platform/core/pull/5823). Instead of leaving that to Symfony, we ended up serializing errors with our normalizers which lead to not hiding the exception details. Note that the trace is hidden in production but the message is not, and the message can contain sensitive information.
At https://github.com/ili101/api-platform/tree/test3.2 it triggers an authentication exception as LDAP is not reachable. You can find the message available as a JSON response when trying to reach an endpoint.
Version 3.2 until 3.2.4 is impacted.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.004 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.004 | v2026.06.15 |