CVE-2026-40507
OpenEMR < 8.3.0 Reflected XSS via templateHtml Parameter in Patient Portal
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-79 |
| Vendor | openemr |
| Product | openemr |
| Published | Aug 19, 2026 |
Stay Ahead of the Next One
Get instant alerts for openemr openemr
Be the first to know when new medium vulnerabilities affecting openemr openemr are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
openemr / openemr
0 < 8.3.0
References
github.com: https://github.com/openemr/openemr/security/advisories/GHSA-rmmr-8498-463g github.com: https://github.com/openemr/openemr/releases/tag/v8_3_0 github.com: https://github.com/openemr/openemr/commit/ba316dd1d8de1291102da3f20f64240729ff899e vulncheck.com: https://www.vulncheck.com/advisories/openemr-reflected-xss-via-templatehtml-parameter-in-patient-portal
Credits
Alex Williams from Pellera Technologies VulnCheck