-
CVSS Score
-The vulnerability stems from the DOMDocumentFactory::fromString method in src/SAML2/DOMDocumentFactory.php. The original code (before patching) set $options = LIBXML_DTDLOAD | LIBXML_DTDATTR | LIBXML_NONET | LIBXML_PARSEHUGE, which explicitly enabled DTD loading. This configuration allowed attackers to supply XML with external entity references. The patch removed these dangerous flags, confirming their role in the vulnerability. The function's position in the XML processing flow (before security checks for DOCTYPE) made it the primary attack vector.
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| simplesamlphp/saml2 | composer | < 4.6.14 | 4.6.14 |
| simplesamlphp/saml2-legacy | composer | < 4.6.14 | 4.6.14 |