Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. simplesamlphp/xml-common
  4. ›
  5. CVE-2024-52806

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

December 2, 2024

When loading an (untrusted) XML document, for example the SAMLResponse, it’s possible to induce an XXE.

References

  • github.com/advisories/GHSA-pxm4-r5ph-q2m2
  • github.com/simplesamlphp/saml2
  • github.com/simplesamlphp/saml2/commit/5fd4ce4596656fb0c1278f15b8305825412e89f7
  • github.com/simplesamlphp/saml2/security/advisories/GHSA-pxm4-r5ph-q2m2
  • nvd.nist.gov/vuln/detail/CVE-2024-52806

Code Behaviors & Features

Detect and mitigate CVE-2024-52806 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.20.0

Fixed versions

  • 1.20.0

Solution

Upgrade to version 1.20.0 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

packagist/simplesamlphp/xml-common/CVE-2024-52806.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:13 +0000.