{"id":"CVE-2024-52806","published":"2024-12-02T16:18:43Z","modified":"2024-12-02T19:12:33Z","title":"SimpleSAMLphp SAML2 has an XXE in parsing SAML messages","vendor":"simplesamlphp","product":"saml2","tier":"tail","description":{"text":"SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. When loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE. This vulnerability is fixed in 4.6.14 and 5.0.0-alpha.18.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00757,"percentile":0.51399,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/simplesamlphp/saml2/security/advisories/GHSA-pxm4-r5ph-q2m2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/simplesamlphp/saml2/commit/5fd4ce4596656fb0c1278f15b8305825412e89f7","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":10.28},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"simplesamlphp","affectedVersions":[{"vendor":"simplesamlphp","product":"saml2","versions":["< 4.6.14",">= 5.0.0-alpha.1, < 5.0.0-alpha.18"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-12-02T19:10:45.941998Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"simplesamlphp/saml2","vulnerableRanges":["<4.6.14"],"patched":["4.6.14"],"from":["GHSA-pxm4-r5ph-q2m2"],"provenance":"source"},{"ecosystem":"Packagist","package":"simplesamlphp/saml2-legacy","vulnerableRanges":["<4.6.14"],"patched":["4.6.14"],"from":["GHSA-pxm4-r5ph-q2m2"],"provenance":"source"}],"summary":{"text":"The flaw is an XML External Entity (XXE) weakness in the XML parsing of SAML messages within the saml2 component of the SimpleSAMLphp SAML2 library, a PHP library for SAML2 functionality. An attacker who can submit an untrusted XML document to be loaded, such as a SAMLResponse, can induce the parser to resolve external entities over an unauthenticated network path, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:38Z"},"euvd":{"id":"EUVD-2024-3495","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-6519","published":"2018-02-02","fixed":"3.1.1","kev":false},{"cve":"CVE-2018-7644","published":"2018-03-05","fixed":"3.1.3","kev":false},{"cve":"CVE-2018-7711","published":"2018-03-05","fixed":"3.1.4","kev":false},{"cve":"CVE-2024-52806","published":"2024-12-02","fixed":"4.6.14","kev":false},{"cve":"CVE-2026-49289","published":"2026-08-19","fixed":"4.20.3","kev":false},{"cve":"CVE-2023-49087","published":"2023-11-30","fixed":"5.0.0-alpha.13","kev":false},{"cve":"CVE-2025-27773","published":"2025-03-11","fixed":"5.0.0-alpha.20","kev":false,"link":{"from":"CVE-2024-52806","to":"CVE-2025-27773","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2","fromFixed":"4.6.14","toFixed":"4.17.0","daysApart":99},{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2-legacy","fromFixed":"4.6.14","toFixed":"4.17.0","daysApart":99}]}}],"package":"Packagist:simplesamlphp/saml2"}}