Back to CVE records
Medium 6.1HealthcarePublished Aug 19, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects openemr. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.34%, higher than 26% of scored CVEs.

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.

CVSS
6.1 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.34% (percentile 26)
Assigned by
VulnCheck
NVD analysis
Deferred
Record last updated
Oct 1, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
openemr openemr
openemr:openemr (from the name)
before 8.3.0
CNA record

References

  • vendor-advisory
  • release-notes
  • patch
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.