VYPR
Medium severity4.8OSV Advisory· Published Aug 3, 2026· Updated Sep 9, 2026

CVE-2026-67612

CVE-2026-67612

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

2
  • Openemr/Openemrllm-fuzzy2 versions
    <=8.2.0+ 1 more
    • (no CPE)range: <=8.2.0
    • (no CPE)range: v8_2_0, v3_0_1, v3_0_0, …

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.