XML External Entity injection in XMLSecLibs - #VU145063

 

XML External Entity injection in XMLSecLibs - #VU145063

Published: August 25, 2026


Vulnerability identifier: #VU145063
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information and perform server-side request forgery.

The vulnerability exists due to improper restriction of xml external entity reference in the decryptNode() method in XMLSecEnc.php when parsing attacker-controlled decrypted xml content. A remote attacker can inject a crafted doctype in encrypted plaintext to disclose sensitive information and perform server-side request forgery.

In SAML deployments, the service provider public encryption key may be available in metadata, making attacker-controlled ciphertext achievable. The issue affects PHP versions earlier than 8.0 where external entity loading is enabled by default.


Affected software

XMLSecLibs

Remediation

Install security update from vendor's website.

XMLSecLibs - update to 4.0.0

External References

Related Security Bulletins