Skip to content
OpenAdvisories
High · 7.3 CVE-2026-126451 EUVD-2026-124977GHSA-qr5x-5h36-j49x

OpenEMR before 8.5.0 Stored XSS via Document Template Rendering

Published Nov 13, 2026 · Updated Nov 13, 2026 · 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 products

VendorProductAffectedFixed
openemr openemr < 8.5.0 8.5.0

References