Skip to content
OpenAdvisories
Critical GHSA-5j8p-438x-rgg5

SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475

Published Dec 9, 2025 · Updated Dec 9, 2025 · Assigned by GHSA

Description

**Summary**

There is a critical vulnerability on xmlseclibs [CVE-2025-66475](https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9), a dependency of php-saml

Update to the following versions of php-saml which forces the use of patched versions of xmlseclibs:
- [2.21.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1)
- [3.8.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1)
- [4.3.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1)

**Impact**

Signature Wrapping Vulnerabilities allows an attacker to impersonate a user.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist onelogin/php-saml < 2.21.1 2.21.1 GHSA-5j8p-438x-rgg5
Packagist onelogin/php-saml >= 3.0.0, < 3.8.1 3.8.1 GHSA-5j8p-438x-rgg5
Packagist onelogin/php-saml >= 4.0.0, < 4.3.1 4.3.1 GHSA-5j8p-438x-rgg5

References