SAML PHP Toolkit Vulnerability on xmlseclibs

Severity: medium · CVSS 4 · Published 2025-12-09

SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475

Technologies: onelogin/php-saml (Packagist). Vendors: Packagist.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Medium severity, with a CVSS score of 4, published 9 December 2025.
Which products and versions are affected?
onelogin/php-saml (Packagist) ECOSYSTEM:introduced=0,fixed=2.21.1.
Is there a fix for This vulnerability?
Yes. onelogin/php-saml (Packagist): upgrade to 2.21.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
Check whether you run onelogin/php-saml (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • onelogin/php-saml (Packagist): upgrade to 2.21.1 or later
    composer require onelogin/php-saml:^2.21.1

Affected products

  • onelogin/php-saml (Packagist) ECOSYSTEM:introduced=0,fixed=2.21.1

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.