Information disclosure in OpenEMR - CVE-2026-25146
Published: April 23, 2026
OpenEMR
Detailed vulnerability description
The vulnerability allows a remote user to disclose sensitive information and perform unauthorized payment gateway actions.
The vulnerability exists due to exposure of sensitive information in client-side JavaScript code in the payment pages when rendering payment-related pages. A remote user can view the rendered gateway_api_key in browser-accessible source code to disclose sensitive information and perform unauthorized payment gateway actions.
The secret is exposed through at least two code paths, including the patient portal and the admin-side payment flow, and the value is leaked for any configured gateway if gateway_api_key is set.