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

Published Aug 3, 2026
·
Updated

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 Software

1 affected component
OpenEMR OpenEMR<=8.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenEMR to a version that resolves this vulnerability.

    Fixed in 8.2.0
  2. Compensating control

    Mitigate the impact by limiting exposure of the template management/import function (e.g., restrict access to template retrieval/import_template.php and template save mode to trusted administrator accounts and to trusted networks via ACL/firewall).

Event History

Aug 3, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via MITRE·04:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2026-67612?

CVE-2026-67612 is a stored cross-site scripting vulnerability in OpenEMR versions through 8.2.0 that allows authenticated administrators to inject malicious HTML and JavaScript.

2

What is the severity of CVE-2026-67612?

The severity of CVE-2026-67612 is classified as medium with a CVSS score of 4.8.

3

How do I fix CVE-2026-67612?

To mitigate CVE-2026-67612, users should upgrade to the latest version of OpenEMR that addresses this vulnerability.

4

What types of attacks can be performed using CVE-2026-67612?

CVE-2026-67612 allows attackers to execute arbitrary JavaScript in the context of an authenticated user's session, potentially leading to data theft and other malicious actions.

5

Who is affected by CVE-2026-67612?

Authenticated administrators using OpenEMR versions through 8.2.0 are affected by CVE-2026-67612 due to the vulnerability in the patient portal template system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203