XSS in Openemr
CVE-2026-126450
OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows authenticated users to inject scripts by placing payloads in the patient External ID field. The payload executes when other users open the patient's prescriptions via View Printable Version (HTML), running script in their browser sessions.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.002, 13.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/openemr/openemr/security/advisories/GHSA-w2f7-289j-92pp (vendor-advisory)
- www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-patient-extern… (third-party-advisory)