CVE-2026-67612
4.8medium
OpenEMR 8.2.0 Stored XSS via import_template.php Template Management
- Severity
- 4.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| openemr openemr | up to 8.2.0 | CVE List |
All scores
| VulnCheck | 4.8medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| VulnCheck | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://jivasecurity.com/writeups/openemr-portal-template-stored-xss | exploit, technical-description | |
| https://www.vulncheck.com/advisories/openemr-stored-xss-via-import-template-php-template-management | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-67612 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2026-67612 changed 2026-09-09 | Public domain |