# CVE-2026-67612: OpenEMR 8.2.0 Stored XSS via import_template.php Template Management

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-03T16:06:15.872Z
- Modified: 2026-09-09T20:40:01.933Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- openemr openemr: up to 8.2.0

## Every score

- VulnCheck: CVSS:4.0 4.8 Medium `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: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## 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

- CVE List: [CVE-2026-67612](https://www.cve.org/CVERecord?id=CVE-2026-67612), CVE Terms of Use, modified 2026-08-14
- NVD: [CVE-2026-67612](https://nvd.nist.gov/vuln/detail/CVE-2026-67612), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-67612 · Whole record: https://cve.day/CVE-2026-67612.json · Rebuilt by cve.day 2026-11-25T22:59:30.882Z
