Technical impact
OpenEMR’s logout endpoint accepts an id_token_hint without verifying its signature and redirects users to the post_logout_redirect_uri supplied in the request before checking it against the client’s registered redirect URIs. This is a classic Open Redirect (CWE‑601) flaw. Because the endpoint is reachable when the OpenEMR REST API is enabled, an attacker can construct a logout URL that sends a logged‑in user to an arbitrary external site in a single step.
Affected Systems
The vulnerability affects OpenEMR installations prior to version 8.3.0 that have the REST API enabled. Systems running OpenEMR 8.3.0 or later are not impacted. Installation with the REST API disabled are not exposed to this flaw.
Risk and Exploitability
The CVSS score of 4.3 classifies the impact as medium. No EPSS score is available, and the flaw is not listed in CISA’s KEV catalog, indicating limited or no widespread exploitation yet. The attack requires only an unauthenticated crafted URL, which can be disseminated via email or web links. When used, the redirect occurs automatically, enabling a dealer of phishing pages to masquerade as a legitimate logout experience. The likelihood of exploitation depends on an attacker’s willingness to craft and distribute such a link; the execution path is straightforward and requires no privileged access.