Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 3.1 score of 5.4 reflects a Medium severity rating with specific vector characteristics: Network attack vector (AV:N) means remote exploitation is possible, Low complexity (AC:L) indicates no special conditions needed, Low privilege requirement (PR:L) mandates prior authentication, and Required user interaction (UI:R) necessitates victim action. The vulnerability is not listed in known exploit databases or CISA KEV catalog based on provided data, suggesting no active widespread exploitation at the time of disclosure. However, real-world risk is elevated beyond the numeric score because: (1) healthcare organizations represent high-value targets with sensitive data; (2) authenticated users in medical environments often have elevated privileges; (3) stored XSS is automatically triggered without additional social engineering; (4) patches are available and referenced via GitHub commits, enabling prioritization. The SSVC decision framework would classify this as exploitable (requires authentication but easily automatable), with moderate technical impact (confidentiality and integrity of health records) in a healthcare context. Priority should be moderate-to-high for healthcare deployments, not necessarily proportional to CVSS alone. |
| Exploit ScenarioDerived | A disgruntled healthcare staff member with valid OpenEMR credentials crafts a malicious patient intake form containing JavaScript that steals session tokens and forwards them to an attacker-controlled server. When a physician victim submits or reviews this form, the injected script silently executes in their authenticated browser session, allowing the attacker to assume the physician's identity and access sensitive patient records, modify medical histories, or intercept prescriptions. The attack requires minimal technical sophistication once credentials are obtained and is difficult for users to detect due to the persistent nature of stored XSS. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 25, 2026
OpenEMR versions prior to 8.0.0.3 contain a stored cross-site scripting (XSS) vulnerability in form handling that allows authenticated attackers to inject malicious JavaScript into forms, which executes in the browser sessions of victims who submit those forms. An attacker with valid OpenEMR credentials can craft a malicious form that, upon submission by any user, executes arbitrary JavaScript with the privileges of the victim's session, potentially leading to session hijacking, credential theft, or unauthorized actions within the electronic health records system. The vulnerability is low-to-moderate severity (CVSS 5.4) due to the requirement for authentication and user interaction, but it poses significant risk in healthcare environments where attackers may have legitimate credentials and victims include healthcare providers with broad system access.
RemediationAI
Immediately upgrade OpenEMR to version 8.0.0.3 or later, which includes patches for form input sanitization and output encoding as detailed in the official release (https://github.com/openemr/openemr/releases/tag/v8_0_0_3). Review the security advisory at https://github.com/openemr/openemr/security/advisories/GHSA-cpph-949w-w79v for detailed vulnerability context and remediation guidance. If immediate patching is not feasible, implement compensating controls by restricting form creation and modification privileges to a minimal set of trusted administrators, disabling or removing unused form features, and monitoring form submissions for suspicious JavaScript patterns via web application firewall (WAF) rules. Additionally, review audit logs for any forms created or modified by untrusted accounts since the vulnerability's introduction, and consider rotating credentials for accounts that may have been compromised through stored XSS attack chains.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability represents a stored/persistent cross-site scripting (XSS) flaw classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically affecting the form submission and rendering mechanisms in OpenEMR's web application. The affected product is OpenEMR (cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:*), a PHP-based electronic health records and medical practice management system. The root cause stems from insufficient input sanitization and output encoding when processing form data, allowing attackers to bypass form validation controls and inject unescaped JavaScript code that persists in the application's database. When another user submits or interacts with the compromised form, the malicious script executes within their authenticated browser context, inheriting their session tokens and permissions.
Know when Openemr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, an authenticated attacker could craft a malicious form that, when submitted by a victim, executes arbitrary JavaScript in the victim's browser session. Version 8.0.0.3 patches the issue.
Executive ViewAI
Organizations using OpenEMR should be aware of moderate risk from CVE-2026-33912, a cross-site scripting vulnerability rated CVSS 5.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)GitHub Advisory
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to
Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.
Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.
Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the
SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par
Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.
Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so
interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
Authentication bypass vulnerability in portal/account/register.php in versions of OpenEMR before 5.0.1.4 allows a remote
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB