Vulnerability

CVE-2026-40507

mediumCVSS 4.0 5.1Published 19 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /openemr/openemr/commit/ba316dd1d8de1291102da3f20f64240729f…
  • github.com /openemr/openemr/releases/tag/v8_3_0
  • github.com /openemr/openemr/security/advisories/GHSA-rmmr-8498-463g
  • www.vulncheck.com /advisories/openemr-reflected-xss-via-templatehtml-paramete…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning