CVE-2026-67612 OpenEMR 8.2.0 Stored XSS via import_template.php Template Management
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openemr | <= 8.2.0 | after 8.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | <= 8.2.0 | No fix listed |
References
- Researcher Disclosure exploit technical-description
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-52349 third-party-advisory