Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://jivasecurity.com/writeups/openemr-portal-template-stored-xss
- https://www.vulncheck.com/advisories/openemr-stored-xss-via-import-template-php-
FAQ
What is CVE-2026-67612?
CVE-2026-67612 is a vulnerability with a CVSS score of 4.8 (MEDIUM). 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 sto...
How severe is CVE-2026-67612?
CVE-2026-67612 has been rated MEDIUM with a CVSS base score of 4.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-67612?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.