robrichards/xmlseclibs is vulnerable to XML External Entity (XXE) Injection
59
Medium Risk
XMLSecEnc::decryptNode() parses decrypted plaintext by calling loadXML() on a new DOMDocument without disabling external entity processing. On PHP earlier than 8.0, where external-entity loading is enabled by default, content that decrypts to a DOCTYPE/XXE payload can trigger server-side file reads and outbound requests, which is reachable when the encryption public key is published as in SAML. This can disclose local files and internal services. The fix routes decrypted XML through a hardened parser that sets LIBXML_NONET and rejects any DOCTYPE.
You are affected if you are using a version that falls within the vulnerable range, you run the library on PHP earlier than 8.0, and you decrypt XML from untrusted sources.
robrichards/xmlseclibs is vulnerable to XML External Entity (XXE) Injection in versions 0.0.1 - 3.1.5.
Upgrade the robrichards/xmlseclibs library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.