CVE-2026-67612
MEDIUMOpenEMR 8.2.0 Stored XSS via import_template.php Template Management
Title source: cnaDescription
OpenEMR through 8.2.0 contains a stored cross-site scripting vulnerability in the patient portal template system that allows authenticated administrators to inject arbitrary HTML and JavaScript by storing malicious payloads through the template save mode, which only filters literal PHP open tags. Attackers can exploit the lack of output encoding at the template retrieval endpoint combined with missing HttpOnly cookie attributes to exfiltrate session tokens via document.cookie access, enabling full session hijacking of any admin, clinician, or portal patient who views a poisoned template.
References (2)
Core 2
Core References
Exploit technical-description
exploit
Researcher Disclosure
https://jivasecurity.com/writeups/openemr-portal-template-stored-xss
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/openemr-stored-xss-via-import-template-php-template-management
Scores
CVSS v3
4.8
EPSS
0.0015
EPSS Percentile
4.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (1)
openemr/openemr
< 8.2.0
Published
Aug 03, 2026
Tracked Since
Aug 03, 2026