OpenEMR through 8.2.0 contains a stored cross-site scripting vulnerability in the patient portal template system that allows authenticated… (CVE-2026-67612)
OpenEMR versions through 8.2.0 have a stored cross-site scripting (XSS) vulnerability in the patient portal template system. Authenticated administrators can inject malicious HTML and JavaScript via the template save mode, which insufficiently filters input. This vulnerability allows attackers to exfiltrate session tokens by exploiting missing output encoding and absent HttpOnly cookie attributes, leading to session hijacking of admins, clinicians, or patients who view the compromised template. The CVSS score is 4.8, indicating medium severity.
AI Analysis
Technical Summary
OpenEMR through version 8.2.0 contains a stored XSS vulnerability in its patient portal template system. Authenticated administrators can inject arbitrary HTML and JavaScript payloads because the template save mode only filters literal PHP open tags and lacks proper output encoding at the template retrieval endpoint. Additionally, the absence of HttpOnly attributes on cookies enables attackers to access session tokens via document.cookie. This combination allows full session hijacking of any user (admin, clinician, or patient) who views the maliciously crafted template. The vulnerability is tracked as CVE-2026-67612 with a CVSS 3.1 base score of 4.8 (medium severity). No patch or remediation information is currently provided.
Potential Impact
The vulnerability enables authenticated administrators to inject stored malicious scripts that execute in the context of other users viewing the patient portal templates. This can lead to exfiltration of session tokens and full session hijacking of administrators, clinicians, or patients. The impact includes loss of confidentiality and integrity of user sessions but does not affect availability. The attack requires authenticated access with high privileges and user interaction (viewing the poisoned template).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative access to trusted users only and monitor for suspicious template modifications. Consider applying manual output encoding or sanitization if feasible. Review cookie settings to enforce HttpOnly attributes to reduce session token exposure.
OpenEMR through 8.2.0 contains a stored cross-site scripting vulnerability in the patient portal template system that allows authenticated… (CVE-2026-67612)
Description
OpenEMR versions through 8.2.0 have a stored cross-site scripting (XSS) vulnerability in the patient portal template system. Authenticated administrators can inject malicious HTML and JavaScript via the template save mode, which insufficiently filters input. This vulnerability allows attackers to exfiltrate session tokens by exploiting missing output encoding and absent HttpOnly cookie attributes, leading to session hijacking of admins, clinicians, or patients who view the compromised template. The CVSS score is 4.8, indicating medium severity.
CVSS v3.1
Score 4.8medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenEMR through version 8.2.0 contains a stored XSS vulnerability in its patient portal template system. Authenticated administrators can inject arbitrary HTML and JavaScript payloads because the template save mode only filters literal PHP open tags and lacks proper output encoding at the template retrieval endpoint. Additionally, the absence of HttpOnly attributes on cookies enables attackers to access session tokens via document.cookie. This combination allows full session hijacking of any user (admin, clinician, or patient) who views the maliciously crafted template. The vulnerability is tracked as CVE-2026-67612 with a CVSS 3.1 base score of 4.8 (medium severity). No patch or remediation information is currently provided.
Potential Impact
The vulnerability enables authenticated administrators to inject stored malicious scripts that execute in the context of other users viewing the patient portal templates. This can lead to exfiltration of session tokens and full session hijacking of administrators, clinicians, or patients. The impact includes loss of confidentiality and integrity of user sessions but does not affect availability. The attack requires authenticated access with high privileges and user interaction (viewing the poisoned template).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative access to trusted users only and monitor for suspicious template modifications. Consider applying manual output encoding or sanitization if feasible. Review cookie settings to enforce HttpOnly attributes to reduce session token exposure.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rv29-9mq6-7j5q
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-67612"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a710655bf32cb7a34393467
Added to database: 08/03/2026, 21:21:25 UTC
Last enriched: 08/03/2026, 21:26:05 UTC
Last updated: 08/03/2026, 23:57:59 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.