Skip to content

CVE-2026-126451 OpenEMR before 8.5.0 Stored XSS via Document Template Rendering

HighCVSS 8.5 EPSS 0.78%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
open-emr openemr < 8.5.0 8.5.0 Fixed
openemr < 8.5.0 8.5.0 Fixed

Affected products

ProductAffected versionsFixed in
openemr < 8.5.0 8.5.0
open-emr openemr < 8.5.0 8.5.0

References