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

- Severity: Medium 4.7 (CVSS:3.0, scored by GitHub_M) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-15T16:21:13.000Z
- Modified: 2026-10-07T08:10:00.200Z
- Also known as: GHSA-cvrm-5hp6-h523
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- simplesamlphp simplesamlphp-module-casserver: < 6.3.1; >= 7.0.0-rc1,  < 7.0.0; before 6.3.1; 7.0.0
- simplesamlphp/simplesamlphp-module-casserver (Packagist): from 7.0.0-rc1 before 7.0.0; before 6.3.1

## Every score

- GitHub_M: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/simplesamlphp/simplesamlphp-module-casserver/security/advisories/GHSA-cvrm-5hp6-h523> (exploit, vendor-advisory, web)
- <https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/0462f50f00b3bb300d83067d11b74146a57bb8e0> (patch, web)
- <https://github.com/simplesamlphp/simplesamlphp-module-casserver/commit/fb6c6f1c7b9e757c93c5c306e1d36405e64f6dc5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-65954> (advisory)
- <https://github.com/simplesamlphp/simplesamlphp-module-casserver> (package)
- <https://github.com/simplesamlphp/simplesamlphp-module-casserver/blob/21418f7efbea8c4f078fd4a7d1b9eacf94dd4941/src/Controller/LogoutController.php#L104> (web)

## Sources

- CVE List: [CVE-2025-65954](https://www.cve.org/CVERecord?id=CVE-2025-65954), CVE Terms of Use, modified 2026-05-18
- GitHub Advisory Database: [GHSA-cvrm-5hp6-h523](https://github.com/advisories/GHSA-cvrm-5hp6-h523), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-65954](https://nvd.nist.gov/vuln/detail/CVE-2025-65954), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-65954 · Whole record: https://cve.day/CVE-2025-65954.json · Rebuilt by cve.day 2026-11-25T22:59:12.203Z
