{"id":"CVE-2023-47639","aliases":["CVE-2023-47639","GHSA-rfw5-cqjj-7v9r"],"related":[],"kind":"vulnerability","state":"published","title":"API Platform Core can leak exceptions message that may contain sensitive information","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nException messages, that are not HTTP exceptions, are visible in the JSON error response.\n\n### Details\n\nWhile we wanted to make our errors compatible with the [JSON Problem](https://datatracker.ietf.org/doc/html/rfc7807) 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.\n\n### PoC\n\nAt 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.\n\n### Impact\n\nVersion 3.2 until 3.2.4 is impacted.","format":"markdown","source":"ghsa"},{"lang":"es","text":"API Platform Core es un sistema para crear API REST y GraphQL basadas en hipermedia. Desde la versión 3.2.0 hasta la 3.2.4, los mensajes de excepción que no son excepciones HTTP son visibles en la respuesta de error JSON. Esta vulnerabilidad se corrigió en la versión 3.2.5.","source":"nvd"}],"published":"2025-04-03T13:02:57.000Z","modified":"2026-06-17T06:33:01.783Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-209"],"affected":[{"ranges":[{"version":">= 3.2.0, < 3.2.5","status":"affected"}],"vendor":"api-platform","product":"core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.2.0","status":"affected","fixed":"3.2.5"}],"ecosystem":"Packagist","package":"api-platform/core","purl":"pkg:composer/api-platform/core","source":"ghsa"}],"references":[{"url":"https://github.com/api-platform/core/security/advisories/GHSA-rfw5-cqjj-7v9r","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/api-platform/core/pull/5823","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/api-platform/core/commit/ba8a7e6538bccebf14c228e43a9339214c4d9201","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-47639","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/api-platform/core","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-03T18:08:11.190Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-47639","url":"https://www.cve.org/CVERecord?id=CVE-2023-47639","licence":"CVE Terms of Use","modified":"2025-04-03T18:08:26.822Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rfw5-cqjj-7v9r","url":"https://github.com/advisories/GHSA-rfw5-cqjj-7v9r","licence":"CC-BY-4.0","modified":"2025-04-04T02:19:23.638Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-47639","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-47639","licence":"Public domain","modified":"2026-06-17T06:33:01.783Z"}],"updatedAt":"2026-11-25T22:58:34.615Z","epss":{"score":0.00387,"percentile":0.34867,"date":"2026-12-01T12:00:22.000Z"}}