Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-40507 EUVD-2026-62504GHSA-pqfg-4hrq-q9jm

OpenEMR < 8.3.0 Reflected XSS via templateHtml Parameter in Patient Portal

Published Aug 19, 2026 · Updated Oct 1, 2026 · Assigned by VulnCheck

Description

OpenEMR before 8.3.0 contains a reflected cross-site scripting vulnerability in the patient portal template import handler. The templateHtml GET parameter is reflected into the page response without sanitization. An attacker can craft a URL that executes arbitrary JavaScript in the browser of any authenticated user with Forms Administration permissions who visits the link, enabling session hijacking.

Affected products

VendorProductAffectedFixed
openemr openemr < 8.3.0 8.3.0

References