Vulnerability · Published May 18, 2026 · Assigned by GitHub_M
CVE-2025-65954SimpleSAMLphp-casserver has an Open Redirect vulnerability via logout
Medium 4.7
In plain English
A medium-severity open redirect in simplesamlphp-module-casserver from simplesamlphp. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
SimpleSAMLphp-casserver is a CAS 1.0 and 2.0 compliant CAS server in the form of a SimpleSAMLphp module. In versions below 6.3.1 and 7.0.0, 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. Impacted configs include 'enable_logout' => true, and 'skip_logout_page' -> true. This issue has been resolved in versions 6.3.1 and 7.0.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | simplesamlphp/simplesamlphp-module-casserver | 7.0.0 | GHSA-cvrm-5hp6-h523 |
| Packagist | simplesamlphp/simplesamlphp-module-casserver | 6.3.1 | GHSA-cvrm-5hp6-h523 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| simplesamlphp | simplesamlphp-module-casserver | < 6.3.1>= 7.0.0-rc1, < 7.0.0 |
Weakness: CWE-601 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
References
- https://github.com/simplesamlphp/simplesamlphp-module-casserver/security/advisories/GHSA-cvrm-5hp6-h523 x_refsource_CONFIRM
- https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/0462f50f00b3bb300d83067d11b74146a57bb8e0 x_refsource_MISC
- https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/fb6c6f1c7b9e757c93c5c306e1d36405e64f6dc5 x_refsource_MISC