onelogin/php-saml: is it safe?

Short answer: Version 4.3.1 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Composer onelogin/php-saml has 4 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

4advisories
1critical
0on CISA KEV
0no fix recorded
CVETitleSeverityCVSSAffectedFixed in
2017-02-28An error during signature verification can be treated as a successful verification.unknown0.0<2.10.42.10.4
CVE-2016-1000253onelogin/php-saml signature wrapping attacksmedium0.0<2.10.02.10.0
GHSA-5j8p-438x-rgg5SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475critical0.0<2.21.1 or >=3.0.0 and <3.8.1 or >=4.0.0 and <4.3.12.21.1, 3.8.1, 4.3.1
GHSA-9wrw-p9rm-r782onelogin/php-saml Improper signature validation on LogoutRequest/LogoutResponse.low0.0<2.10.42.10.4

Quick answers

Is onelogin/php-saml safe to use?

Version 4.3.1 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is onelogin/php-saml being actively exploited?

None of its 4 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/onelogin/php-saml.svg)](https://phpwarden.io/packages/onelogin/php-saml)