onelogin/php-saml · Php saml: SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475
Affects onelogin/php-samlSource GCVE Database
Mentioned vulnerabilities
CVSS 9.3 Critical : upgrade to 2.21.1 as a priority.
Data as of 27 Nov 2026, 04:51 UTC
- Patch
- Available – fixed in 2.21.1, 3.8.1, 4.3.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NWhat to do
Upgrade onelogin/php-saml to 2.21.1; onelogin/php-saml to 3.8.1; onelogin/php-saml to 4.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistonelogin/php-saml | Affected
| Fixed in
|
| Packagistonelogin/php-saml | Affected
| Fixed in
|
| Packagistonelogin/php-saml | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Update php-saml to version 2.21.1, 3.8.1, or 4.3.1, which include patched versions of xmlseclibs addressing this vulnerability. Applying these updates effectively mitigates the risk.
Description
A critical vulnerability (CVE-2025-66475) exists in xmlseclibs, a dependency of the php-saml toolkit, which allows signature wrapping attacks enabling user impersonation. Fixed versions of php-saml that include patched xmlseclibs are 2.21.1, 3.8.1, and 4.3.1. Users should update to these versions to mitigate the risk.
References
- github.com/SAML-Toolkits/php-saml/security/advisories/GHSA-5j8p-438x-rgg5 (opens in a new tab)
- github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9 (opens in a new tab)
- github.com/SAML-Toolkits/php-saml (opens in a new tab)
- github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1 (opens in a new tab)
- github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1 (opens in a new tab)
- github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1 (opens in a new tab)