Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-67612 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')[email protected]

Affected Products

ProductVersions
OpenEMR
<= 8.2.0 (semver)

CPE

  • cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*

Remediation

  • Mitigation:low effort

    Set the HttpOnly flag on the OpenEMR session cookie to prevent JavaScript from accessing it.

  • Mitigation:low effort

    Configure the template retrieval endpoint to return a Content-Type of text/plain or text/html with output encoded using htmlspecialchars(). Alternatively, configure it to return a Content-Disposition header with a value of attachment to force browsers to download the template instead of rendering it.

  • Mitigation:low effort

    Implement an allowlist-based HTML sanitizer to filter out unsafe content when saving templates.

  • Mitigation:low effort

    Add ownership verification to the template retrieval endpoint to prevent unauthorized users from accessing templates they do not own.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-67612
NVD Published Date:
Aug 3, 2026
NVD Last Modified:
Sep 9, 2026
Source:
[email protected]
CVE-2026-67612 Details - Not Deferred