{"id":"GHSA-5j8p-438x-rgg5","aliases":[],"status":"published","title":"SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475","description":"**Summary**\n\nThere 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\n\nUpdate to the following versions of php-saml which forces the use of patched versions of xmlseclibs:\n- [2.21.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1)\n- [3.8.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1)\n- [4.3.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1)\n\n\n**Impact**\n\nSignature Wrapping Vulnerabilities allows an attacker to impersonate a user.","severity":{"version":"4.0","score":9.3,"vector":"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","level":"critical","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1395"],"published":"2025-12-09T17:24:09Z","modified":"2025-12-09T17:51:17Z","fixes":[{"ecosystem":"Packagist","package":"onelogin/php-saml","fixed_in":["2.21.1","3.8.1","4.3.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"onelogin/php-saml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.21.1"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"onelogin/php-saml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.8.1"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"onelogin/php-saml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.3.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"onelogin/php-saml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.21.1"}]}],"versions":["2.0.0","2.1.0","2.10.0","2.10.1","2.10.2","2.10.3","2.10.4","2.10.5","2.10.6","2.10.7","2.11.0","2.16.0","2.17.0","2.17.1","2.18.0","2.18.1","2.19.0","2.19.1","2.20.0","2.21.0","2.3.0","2.4.0","2.5.0","2.6.0","2.6.1","2.7.0","2.8.0","2.9.0","2.9.1","v2.12.0","v2.13.0","v2.14.0","v2.15.0"]},{"source":"osv","ecosystem":"Packagist","package":"onelogin/php-saml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.8.1"}]}],"versions":["3.1.1","3.2.0","3.2.1","3.3.0","3.3.1","3.4.0","3.4.1","3.5.0","3.5.1","3.6.0","3.6.1","3.7.0","3.8.0","v3.0.0","v3.1.0"]},{"source":"osv","ecosystem":"Packagist","package":"onelogin/php-saml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.3.1"}]}],"versions":["4.0.0","4.0.1","4.1.0","4.2.0","4.3.0"]}],"references":[{"url":"https://github.com/SAML-Toolkits/php-saml/security/advisories/GHSA-5j8p-438x-rgg5","tags":["web"]},{"url":"https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9","tags":["web"]},{"url":"https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1","tags":["web"]},{"url":"https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1","tags":["web"]},{"url":"https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5j8p-438x-rgg5"},{"url":"https://github.com/SAML-Toolkits/php-saml","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-5j8p-438x-rgg5","title":" SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475 ","description":"**Summary**\n\nThere 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\n\nUpdate to the following versions of php-saml which forces the use of patched versions of xmlseclibs:\n- [2.21.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1)\n- [3.8.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1)\n- [4.3.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1)\n\n\n**Impact**\n\nSignature Wrapping Vulnerabilities allows an attacker to impersonate a user.","status":"published","published":"2025-12-09T17:24:09Z","modified":"2025-12-09T17:24:13Z","cvss":[{"version":"4.0","score":9.3,"vector":"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","level":"critical"}],"cwes":["CWE-1395"],"updated_at":"2026-11-02T14:39:12.222121Z"}],"osv":[{"id":"GHSA-5j8p-438x-rgg5","title":" SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475 ","description":"**Summary**\n\nThere 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\n\nUpdate to the following versions of php-saml which forces the use of patched versions of xmlseclibs:\n- [2.21.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1)\n- [3.8.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1)\n- [4.3.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1)\n\n\n**Impact**\n\nSignature Wrapping Vulnerabilities allows an attacker to impersonate a user.","status":"published","published":"2025-12-09T17:24:09Z","modified":"2025-12-09T17:51:17.350635Z","cvss":[{"version":"4.0","score":9.3,"vector":"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","level":"critical"}],"cwes":["CWE-1395"],"updated_at":"2026-11-02T15:46:38.553953Z"}]}}
