CVE-2026-25146 OpenEMR's payments gateway_api_key secret rendered into client JS code
HighCVSS 8.1
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
OpenEMR is a free and open source electronic health records and medical practice management application. From 5.0.2 to before 8.0.0, there are (at least) two paths where the gateway_api_key secret value is rendered to the client in plaintext. These secret keys being leaked could result in arbitrary money movement or broad account takeover of payment gateway APIs. This vulnerability is fixed in 8.0.0.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | >= 5.0.2, < 8.0.0 | 8.0.0 | Fixed |
| openemr | = >= 5.0.2, < 8.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | = >= 5.0.2, < 8.0.0 | No fix listed |
| open-emr openemr | >= 5.0.2, < 8.0.0 | 8.0.0 |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-2hq8-wc73-jvvq exploit vendor-advisory
- https://github.com/openemr/openemr/commit/fe6341496dc82d5b4f5a3f35891bb2e2481f3b25 patch
- https://github.com/openemr/openemr/blob/6a4e18c5ec73e0c755f6f65b28a9652aded1a58b/interface/patient_file/front_payment.php#L765 product
- https://github.com/openemr/openemr/blob/6a4e18c5ec73e0c755f6f65b28a9652aded1a58b/portal/portal_payment.php#L537 product