Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. simplesamlphp/simplesamlphp-module-casserver
  4. ›
  5. CVE-2025-65954

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

May 15, 2026 (updated May 19, 2026)

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)

References

  • github.com/advisories/GHSA-cvrm-5hp6-h523
  • github.com/simplesamlphp/simplesamlphp-module-casserver/blob/21418f7efbea8c4f078fd4a7d1b9eacf94dd4941/src/Controller/LogoutController.php
  • github.com/simplesamlphp/simplesamlphp-module-casserver/commit/0462f50f00b3bb300d83067d11b74146a57bb8e0
  • github.com/simplesamlphp/simplesamlphp-module-casserver/commit/fb6c6f1c7b9e757c93c5c306e1d36405e64f6dc5
  • github.com/simplesamlphp/simplesamlphp-module-casserver/security/advisories/GHSA-cvrm-5hp6-h523
  • nvd.nist.gov/vuln/detail/CVE-2025-65954

Code Behaviors & Features

Detect and mitigate CVE-2025-65954 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.3.1, all versions starting from 7.0.0-rc1 before 7.0.0

Fixed versions

  • 6.3.1
  • 7.0.0

Solution

Upgrade to versions 6.3.1, 7.0.0 or above.

Impact 4.7 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

packagist/simplesamlphp/simplesamlphp-module-casserver/CVE-2025-65954.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 22 May 2026 00:18:23 +0000.