{"answers":{"affected":"4 open source packages ship an affected version, including simplesamlphp/simplesamlphp-module-casserver. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65954 exists.","fix":"Upgrade simplesamlphp/simplesamlphp-module-casserver to a fixed version for your release line: 6.3.1 or 7.0.0.","what":"CVE-2025-65954 is a medium-severity vulnerability in simplesamlphp-module-casserver, published on 18 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-65954 and fix it if it is affected.\n\nWhat it is: CVE-2025-65954 is a medium-severity vulnerability in simplesamlphp-module-casserver, published on 18 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65954 exists.\n\nAffected packages and fixed versions:\n- simplesamlphp/simplesamlphp-module-casserver (Packagist): affected all versions; fixed in 6.3.1\n- simplesamlphp/simplesamlphp-module-casserver (Packagist): affected all versions; fixed in 6.3.1\n- simplesamlphp/simplesamlphp-module-casserver (Packagist): affected from 7.0.0-rc1; fixed in 7.0.0\n- simplesamlphp/simplesamlphp-module-casserver (Packagist): affected from 7.0.0-rc1; fixed in 7.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-65954/ (Markdown: https://insights.sbomify.com/CVE-2025-65954/index.md)","id":"CVE-2025-65954","markdown":"https://insights.sbomify.com/CVE-2025-65954/index.md","name":"CVE-2025-65954","record":{"aliases":["GHSA-cvrm-5hp6-h523"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"SimpleSAMLphp CAS module","requires_auth":"none","summary":"Attackers can redirect users to malicious sites via the logout endpoint in SimpleSAMLphp-casserver, requiring specific logout configurations.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"simplesamlphp-module-casserver","vendor":"simplesamlphp"}],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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' =\u003e true, and 'skip_logout_page' -\u003e true. This issue has been resolved in versions 6.3.1 and 7.0.0.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"SimpleSAMLphp-casserver has an Open Redirect vulnerability via logout","id":"CVE-2025-65954","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"open_redirect","year":"2025"},"n_packages":4,"n_references":3,"next":{"headline":"ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family","id":"CVE-2025-65955"},"packages":[{"ecosystem":"Packagist","fixed":["6.3.1"],"introduced":["0"],"last_affected":[],"package":"simplesamlphp/simplesamlphp-module-casserver","purl":null,"source":"GHSA-cvrm-5hp6-h523"},{"ecosystem":"Packagist","fixed":["6.3.1"],"introduced":["0"],"last_affected":[],"package":"simplesamlphp/simplesamlphp-module-casserver","purl":"pkg:composer/simplesamlphp/simplesamlphp-module-casserver","source":"GHSA-cvrm-5hp6-h523"},{"ecosystem":"Packagist","fixed":["7.0.0"],"introduced":["7.0.0-rc1"],"last_affected":[],"package":"simplesamlphp/simplesamlphp-module-casserver","purl":null,"source":"GHSA-cvrm-5hp6-h523"},{"ecosystem":"Packagist","fixed":["7.0.0"],"introduced":["7.0.0-rc1"],"last_affected":[],"package":"simplesamlphp/simplesamlphp-module-casserver","purl":"pkg:composer/simplesamlphp/simplesamlphp-module-casserver","source":"GHSA-cvrm-5hp6-h523"}],"prev":{"headline":"NanoMQ UAF of retain message due to invalid MQTTV5 properties","id":"CVE-2025-65953"},"products":["simplesamlphp-module-casserver"],"published":"2026-05-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-18","vendors":["simplesamlphp"]},"summary":"Attackers can redirect users to malicious sites via the logout endpoint in SimpleSAMLphp-casserver, requiring specific logout configurations.","url":"https://insights.sbomify.com/CVE-2025-65954/"}