NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-65954: SimpleSAMLphp casserver: Open Redirect in logout

mediumCVSS 3.0 4.7GHSA-cvrm-5hp6-h523

Summary The logout endpoint accepts a url query parameter to redirect to. casserver treats that url as trusted, and either (depending on configuration) redirects the browser there, or shows a "you've been logged out" page with a link to continue to that url.

Published May 15, 2026 · Updated May 19, 2026

Affected packages

simplesamlphp/simplesamlphp-module-casserver

Ecosystem
Composer (PHP)
Affected
>= 7.0.0-rc1, < 7.0.0-rc3
Fixed in
7.0.0
Check
composer show simplesamlphp/simplesamlphp-module-casserver

simplesamlphp/simplesamlphp-module-casserver

Ecosystem
Composer (PHP)
Affected
< 6.3.1
Fixed in
6.3.1
Check
composer show simplesamlphp/simplesamlphp-module-casserver

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

The logout endpoint accepts a url query parameter to redirect to. casserver treats that url as trusted, and either (depending on configuration) redirects the browser there, or shows a "you've been logged out" page with a link to continue to that url.

There are a number of other things broken with logout in 7 (cas v3 uses a different query parameters, etc)

Details

https://github.com/simplesamlphp/simplesamlphp-module-casserver/blob/21418f7efbea8c4f078fd4a7d1b9eacf94dd4941/src/Controller/LogoutController.php#L104

Previous module checked the url against the valid service urls.

PoC

The docker instructions from the README.md run an image with a vulnerable config.

Accessing https://localhost/cas/logout?url=https://google.com will redirect to Google

Impact

Impacted configs have

'enable_logout' => true,

and are most impacted if they also have

'skip_logout_page' -> true,

Credited to pradtke.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries