CVE-2026-126451

published 13 Nov 2026 · updated 16 Nov 2026

OpenEMR before 8.5.0 Stored XSS via Document Template Rendering

8.3HighCVSS 7.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 8.5.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
open-emropenemr<8.5.08.5.0
openemr<8.5.08.5.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126451 severity on Zeptric[![CVE-2026-126451](https://zeptric.io/badge/cve/CVE-2026-126451.svg)](https://zeptric.io/cve/CVE-2026-126451)