What’s Vulnerable › Vulnerabilities
CVE-2026-67612: OpenEMR 8.2.0 Stored XSS via import_template.php Template Management
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-03 · updated 2026-09-09
- Weakness: CWE-79
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
- openemr: through 8.2.0
References
- https://jivasecurity.com/writeups/openemr-portal-template-stored-xss
- https://www.vulncheck.com/advisories/openemr-stored-xss-via-import-template-php-template-management
Get alerted when CVE-2026-67612 or the next vulnerability affects your stack