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

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

December 2, 2024 (updated December 13, 2024)

Summary

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. Learn more about Dependency Scanning →

Affected versions

All versions before 4.6.14

Fixed versions

  • 4.6.14

Solution

Upgrade to version 4.6.14 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/saml2-legacy/CVE-2024-52806.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:45 +0000.