Skip to content

CVE-2026-40507 OpenEMR < 8.3.0 Reflected XSS via templateHtml Parameter in Patient Portal

MediumCVSS 5.1 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
openemr < 8.3.0 8.3.0 Fixed

Affected products

ProductAffected versionsFixed in
openemr < 8.3.0 8.3.0

References