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 javascri…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
https://nvd.nist.gov/vuln/detail/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. References: https://github.com/openemr/openemr/security/advisories/GHSA-hfpq-j3fj-cpmv https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-document-template-rendering