CVE-2026-126451: OpenEMR before 8.5.0 Stored XSS via Document Template Rendering
CVE-2026-126451 OpenEMR before 8.5.0 Stored XSS via Document Template Rendering
Summary: OpenEMR before 8.5.0 Stored XSS via Document Template Rendering
EPSS: 0.4% probability of exploitation in the next 30 days (percentile 31.5).
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.
UNKNOWN — vector 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
CVE-2026-126451 OpenEMR before 8.5.0 Stored XSS via Document Template Rendering