# GHSA-5j8p-438x-rgg5: SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475

- Severity: Critical (CVSS:4.0, scored by GitHub) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-12-09T17:24:09.000Z
- Modified: 2025-12-09T17:51:17.350Z
- Weaknesses: CWE-1395

## 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.

(As written by GitHub Advisory Database.)

## Affected

- onelogin/php-saml (Packagist): before 2.21.1; from 3.0.0 before 3.8.1; from 4.0.0 before 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)

## Sources

- GitHub Advisory Database: [GHSA-5j8p-438x-rgg5](https://github.com/advisories/GHSA-5j8p-438x-rgg5), CC-BY-4.0, modified 2025-12-09

---

Page: https://cve.day/GHSA-5j8p-438x-rgg5 · Whole record: https://cve.day/GHSA-5j8p-438x-rgg5.json · Rebuilt by cve.day 2026-11-25T22:56:31.202Z
