CVE-2026-40507
mediumOpenEMR before 8.3.0 contains a reflected cross-site scripting vulnerability in the patient portal template import handler.
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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/openemr/openemr/commit/ba316dd1d8de1291102da3f20f64240729ff899e disclosure@vulncheck.com
- https://github.com/openemr/openemr/releases/tag/v8_3_0 disclosure@vulncheck.com
- https://github.com/openemr/openemr/security/advisories/GHSA-rmmr-8498-463g disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/openemr-reflected-xss-via-templatehtml-parameter-in-p... disclosure@vulncheck.com
- https://github.com/openemr/openemr/security/advisories/GHSA-rmmr-8498-463g 134c704f-9b21-4f2e-91b3-4a467353bcc0
