Vulnerability · Published Aug 3, 2026 · Assigned by VulnCheck
CVE-2026-67612OpenEMR 8.2.0 Stored XSS via import_template.php Template Management
Medium 4.8
In plain English
A medium-severity cross-site scripting in openemr from openemr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
References
- Researcher Disclosure technical-description, exploit
- https://www.vulncheck.com/advisories/openemr-stored-xss-via-import-template-php-template-management third-party-advisory