Skip to content

XXE

High
tvdijen published GHSA-2x65-fpch-2fcm Dec 1, 2024

Package

composer simplesamlphp/xml-common (Composer)

Affected versions

<1.20

Patched versions

1.20.0

Description

Summary

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

Mitigation:

Remove the LIBXML_DTDLOAD | LIBXML_DTDATTR options from $options is in: https://github.com/simplesamlphp/saml2/blob/717c0adc4877ebd58428637e5626345e59fa0109/src/SAML2/DOMDocumentFactory.php#L41

Background / details

To be published on Dec 8.

Severity

High

CVE ID

CVE-2024-52596

Weaknesses

Credits