CVE-2026-126451

OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows portal patients to run JavaScript in staff sessions by injecting javascript: URLs into document template_data. Attackers can submit an encounterForm value rendered unsanitized into an iframe src by DocumentTemplateRender, letting the script read PHI and CSRF tokens and call staff or admin endpoints.
Configurations

Configuration 1 (hide)

cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*

History

16 Nov 2026, 21:03

Type Values Removed Values Added
References () https://github.com/openemr/openemr/security/advisories/GHSA-hfpq-j3fj-cpmv - () https://github.com/openemr/openemr/security/advisories/GHSA-hfpq-j3fj-cpmv - Exploit, Vendor Advisory
References () https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-document-template-rendering - () https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-document-template-rendering - Third Party Advisory
CPE cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
First Time Open-emr openemr
Open-emr

13 Nov 2026, 10:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-13 10:17

Updated : 2026-11-16 21:03


NVD link : CVE-2026-126451

Mitre link : CVE-2026-126451

CVE.ORG link : CVE-2026-126451


JSON object : View

Products Affected

open-emr

  • openemr
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')