{"id":"GHSA-5j8p-438x-rgg5","aliases":["GHSA-5j8p-438x-rgg5"],"related":[],"kind":"vulnerability","state":"published","title":"SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475","summary":"**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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"**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.","format":"markdown","source":"ghsa"}],"published":"2025-12-09T17:24:09.000Z","modified":"2025-12-09T17:51:17.350Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"CRITICAL"}],"cwes":["CWE-1395"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.21.1"}],"ecosystem":"Packagist","package":"onelogin/php-saml","purl":"pkg:composer/onelogin/php-saml","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.8.1"}],"ecosystem":"Packagist","package":"onelogin/php-saml","purl":"pkg:composer/onelogin/php-saml","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.3.1"}],"ecosystem":"Packagist","package":"onelogin/php-saml","purl":"pkg:composer/onelogin/php-saml","source":"ghsa"}],"references":[{"url":"https://github.com/SAML-Toolkits/php-saml/security/advisories/GHSA-5j8p-438x-rgg5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/SAML-Toolkits/php-saml","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5j8p-438x-rgg5","url":"https://github.com/advisories/GHSA-5j8p-438x-rgg5","licence":"CC-BY-4.0","modified":"2025-12-09T17:51:17.350Z"}],"updatedAt":"2026-11-25T22:56:31.202Z"}