CVE-2026-40508OpenEMR < 8.3.0 Stored XSS via Patient Portal Template Import Handler
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.30%, higher than 21% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 5.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/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.30% (percentile 21)
- Assigned by
- VulnCheck
- NVD analysis
- Deferred
- Record last updated
- Oct 1, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
openemr openemr openemr:openemr (from the name) | before 8.3.0 | CNA record |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-5293-8q47-cf44vendor-advisory
- https://github.com/openemr/openemr/releases/tag/v8_3_0release-notes
- https://github.com/openemr/openemr/commit/ba316dd1d8de1291102da3f20f64240729ff899epatch
- https://www.vulncheck.com/advisories/openemr-stored-xss-via-patient-portal-template-import-handlerthird-party-advisory
The CVE record on cve.org NVD's entry
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.