CVE-2026-126451
8.5high
OpenEMR before 8.5.0 Stored XSS via Document Template Rendering
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.27% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| openemr openemr | before 8.5.0 Not affected: 8.5.0 | CVE List |
| open-emr openemr | before 8.5.0 | NVD |
All scores
| VulnCheck | 8.5high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://github.com/openemr/openemr/security/advisories/GHSA-hfpq-j3fj-cpmv | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-document-template-rendering | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-126451 changed 2026-11-13 | CVE Terms of Use |
| NVD | CVE-2026-126451 changed 2026-11-16 | Public domain |