GHSA-5j8p-438x-rgg5
CRITICALSAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475
Summary
There is a critical vulnerability on xmlseclibs CVE-2025-66475, a dependency of php-saml
Update to the following versions of php-saml which forces the use of patched versions of xmlseclibs:
Impact
Signature Wrapping Vulnerabilities allows an attacker to impersonate a user.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | onelogin/php-saml | < 2.21.1 | 2.21.1 |
| OSV | Packagist | onelogin/php-saml | >= 3.0.0, < 3.8.1 | 3.8.1 |
| OSV | Packagist | onelogin/php-saml | >= 4.0.0, < 4.3.1 | 4.3.1 |
References
- https://github.com/SAML-Toolkits/php-saml/security/advisories/GHSA-5j8p-438x-rgg5 · WEB
- https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9 · WEB
- https://github.com/SAML-Toolkits/php-saml · PACKAGE
- https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1 · WEB
- https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1 · WEB
- https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1 · WEB
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Dec 2025)