Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with CAMOS encounter-form access
-
DeliveryStore HTML/JS payload via ajax_save.php into form_CAMOS
-
ExploitVictim prints entry via rx_print.php non-print_html branch
-
ExecutionStored content renders unencoded in OpenEMR origin
-
ImpactPerform actions and read data as victim user
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. |
| Exploitation Conditions | Exploitation requires an authenticated OpenEMR account (version before 8.3.0) with CAMOS encounter-form access to a patient encounter, a valid patient/encounter context, and a live csrf_token_form, used to POST attacker-controlled HTML/JavaScript into the content field of the CAMOS AJAX save route (/interface/forms/CAMOS/ajax_save.php), which stores it in form_CAMOS. The payload only executes through the non-print_html branch of /interface/forms/CAMOS/rx_print.php (the print_pdf path, e.g. rx_print.php?sigline=embossed), because the advisory states the print_html branch HTML-encodes the content and is therefore safe. LIMITING FACTORS: a second authenticated user must actually open/render the stored entry in the Rx print view for the script to run (UI:P), the attacker needs the CAMOS save privilege and CSRF token (PR:L), and the specific print_html vs non-print_html code path matters - exploitation via the encoding branch does not occur. The vendor states the fix is upgrading to OpenEMR 8.3.0. |
| Impact | This is a credible, prioritize-now issue rather than an inflated high-CVSS score, but its real-world risk is bounded by preconditions. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H) scores 9.3 Critical, and the vuln.today Decision label is act_now, which argues against deferring remediation. Supporting that urgency, the vendor GHSA advisory (GHSA-rc6m-6pq4-r69x) includes a detailed, step-by-step browser-console proof-of-concept against a real OpenEMR Docker build, and the issue was revalidated on current master (8.2.0-dev) - so a working attack path is documented, not theoretical. Tempering that: this is NOT CISA KEV (no confirmed active exploitation), no EPSS probability was provided in the input, and exploitation is not zero-click - the vector requires PR:L (an authenticated account with CAMOS encounter-form access) plus UI:P (a victim must open/print the malicious CAMOS entry through the Rx print view). The high VC/VI/SC/SI ratings reflect script execution in the OpenEMR origin against a logged-in user (acting and reading data as the victim), which is realistic for stored XSS in a clinical records app. Net: treat as high priority because a patch exists, the decision signal is act_now, and a vendor PoC is public - but recognize this favors insider or compromised-account abuse requiring a victim interaction, not mass unauthenticated exploitation. Note the absence of EPSS and KEV data means the automatable/widespread-exploitation question cannot be answered from the provided signals. |
| Exploit ScenarioDerived | An authenticated OpenEMR user (or an attacker using a compromised CAMOS-capable account) saves a CAMOS encounter entry whose content field contains an HTML/JavaScript payload such as an img onerror handler via ajax_save.php. When another authenticated staff member later prints that entry through the Rx print view's non-print_html branch (print_pdf on rx_print.php?sigline=embossed), the stored payload renders unencoded and runs in the OpenEMR origin, letting it act and read data as that victim. A documented working proof-of-concept exists in the vendor GHSA advisory, but exploitation needs network access plus low authentication (PR:L) and victim interaction (UI:P), so it is not zero-click. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Stored cross-site scripting in OpenEMR before 8.3.0 lets an authenticated user holding CAMOS encounter-form access persist an HTML/JavaScript payload through ajax_save.php, which then executes in the OpenEMR origin when the entry is rendered in the Rx print view, allowing the script to act and read data as the victim user. Severity scoring is high (CVSS 4.0 9.3; independently assessed as CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N) and the issue carries an act_now priority label, but real-world risk is bounded by its preconditions: a CAMOS-capable account, a valid patient/encounter context plus live CSRF token to save the entry, and a second authenticated user who actually opens the print view via the non-print_html (print_pdf) path, since the print_html branch HTML-encodes the content. The GitHub security advisory ships a detailed browser-console proof-of-concept reproduction, but no confirmed active exploitation is indicated in the available intelligence.
RemediationAI
Upgrade to OpenEMR 8.3.0, the version the advisory lists as fixed; the vendor states that updating is the complete fix, so no code-level workaround is offered in the advisory (see https://github.com/openemr/openemr/security/advisories/GHSA-rc6m-6pq4-r69x). Until the upgrade is applied, the practical exposure reduction follows the documented prerequisites: the payload can only be planted by an account with CAMOS encounter-form access and is only triggered through the print_pdf path of interface/forms/CAMOS/rx_print.php, so restricting CAMOS form privileges to the minimum staff who need them and limiting who can run Rx print jobs containing CAMOS entries narrows the attacker pool and the set of users who can be triggered, at the cost of temporarily changing clinical workflow for CAMOS users. Any stored CAMOS records created before the upgrade should be reviewed for injected markup, since the fix addresses output encoding rather than scrubbing already-persisted content.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenEMR is a PHP-based open-source electronic health record and practice-management application, and this is a classic CWE-79 stored cross-site scripting flaw arising from an encode-on-output failure rather than from missing input filtering. The CAMOS AJAX save route (interface/forms/CAMOS/ajax_save.php) accepts a 'content' field through filter_input, performs CSRF and patient-context checks, and persists the value into the form_CAMOS table via formSubmit and FormService::addForm - so the malicious markup is stored as legitimate CAMOS encounter data. The defect appears in the read path: interface/forms/CAMOS/rx_print.php loads selected CAMOS rows for the current patient and, in the print_html branch, applies text() encoding before printing; in the default non-print_html branch (reached through the print_pdf parameter, e.g. rx_print.php?sigline=embossed) it assigns $raw_content to $content unchanged and prints it directly into the HTML response. Because the payload executes in the OpenEMR origin under the victim's session, it can perform authenticated actions, read data visible to that user, and issue requests bearing the victim's credentials. Per the CPE cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:* and the EUVD range, all OpenEMR releases before 8.3.0 are in scope, with the issue reproduced against the 8.2.0-dev master branch.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Authenticated CAMOS user stores the payload (PR:L); a victim must open the Rx print view (UI:R); execution in the victim's OpenEMR session crosses a security boundary (S:C) enabling data read and actions as the victim (C:H/I:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenEMR before 8.3.0 contains a stored cross-site scripting vulnerability that allows authenticated users with CAMOS access to inject HTML by saving malicious CAMOS content through ajax_save.php. Attackers can store a script payload that executes unencoded when the entry is printed via the non-print_html branch of rx_print.php, performing actions and reading data as the victim user.
Articles & Coverage 1
Technical POC Analysis
Stored cross-site scripting, CWE-79.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
OpenEMR, a widely used electronic health record system, contains a critical stored cross-site scripting vulnerability (CVE-2026-124463) that can be exploited by an authenticated user to execute malicious scripts in another user's browser, potentially leading to data theft or session compromise within the OpenEMR origin. While no active exploitation has been reported, the high severity and the availability of a public proof-of-concept increase the urgency for organizations using OpenEMR to prioritize patching and review access controls. Healthcare providers relying on OpenEMR should immediately assess their exposure and safeguard patient data and system integrity.
Apply vendor patch.
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.
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
Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
EUVD-2026-119520
GHSA-g2f8-3f57-c24g
NVD
CVE.org
EPSS
VulDB
Exploit-DB