Vulnerability

CVE-2026-40508

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 stored cross-site scripting vulnerability in the patient portal template import handler that allows authenticated attackers with Forms Administration permissions to upload template files containing arbitrary HTML or JavaScript. Attackers can inject malicious scripts through the template upload functionality, which are stored without sanitization and execute in the browser of any other Forms Administration user who views the template in the HTML editor.

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-5293-8q47-cf44
  • www.vulncheck.com /advisories/openemr-stored-xss-via-patient-portal-template-…

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

Start scanning