# CVE-2024-52806: SimpleSAMLphp SAML2 has an XXE in parsing SAML messages

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2024-12-02T16:18:43.485Z
- Modified: 2026-06-17T08:07:39.777Z
- Also known as: GHSA-pxm4-r5ph-q2m2
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- simplesamlphp saml2: < 4.6.14; >= 5.0.0-alpha.1, < 5.0.0-alpha.18; before 4.6.14; up to 5.0.0-alpha.1; before 5.0.0-alpha.18
- simplesamlphp/saml2 (Packagist): before 4.6.14
- simplesamlphp/saml2-legacy (Packagist): before 4.6.14

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 8.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L`

## References

- <https://github.com/simplesamlphp/saml2/security/advisories/GHSA-pxm4-r5ph-q2m2> (web)
- <https://github.com/simplesamlphp/saml2/commit/5fd4ce4596656fb0c1278f15b8305825412e89f7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52806> (advisory)
- <https://github.com/simplesamlphp/saml2> (package)

## Sources

- CVE List: [CVE-2024-52806](https://www.cve.org/CVERecord?id=CVE-2024-52806), CVE Terms of Use, modified 2024-12-02
- GitHub Advisory Database: [GHSA-pxm4-r5ph-q2m2](https://github.com/advisories/GHSA-pxm4-r5ph-q2m2), CC-BY-4.0, modified 2024-12-13
- NVD: [CVE-2024-52806](https://nvd.nist.gov/vuln/detail/CVE-2024-52806), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-52806 · Whole record: https://cve.day/CVE-2024-52806.json · Rebuilt by cve.day 2026-11-25T22:58:49.641Z
