
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-33321 is an Out-of-Band Server-Side Request Forgery (OOB SSRF) vulnerability in OpenEMR, a widely used open-source electronic health records and medical practice management application. It affects all OpenEMR versions prior to 8.0.0.2 (i.e., ≤ 8.0.0.1). The vulnerability was disclosed on March 19, 2026, with a fix released in version 8.0.0.2. It carries a CVSS v3.1 base score of 7.6 (High) and a CVSS v4.0 base score of 7.2 (High) (GitHub Advisory).
The root cause is improper neutralization of user-supplied input (CWE-918: SSRF) in the Eye Exam form's PDF generation function (interface/forms/eye_mag/report.php). When a user saves an Eye Exam form and exports it as a PDF via mPDF, form field values (such as the HPI field) are rendered as unescaped HTML. An attacker can inject an HTML tag (e.g., <img src="https://attacker.com/beacon">) into a form field, which mPDF resolves by making an outbound HTTP request to the attacker-controlled URL during PDF rendering. The fix, applied in commit dccc962, escapes all user-supplied form values using the text() function throughout the Eye Exam report template (GitHub Advisory, Patch Commit). This vulnerability shares the same root cause with two related advisories: CVE-2026-33299 (Stored XSS) and CVE-2026-33301 (Arbitrary file read via mPDF local path resolution).
Successful exploitation allows authenticated attackers to force the OpenEMR server to make arbitrary outbound HTTP requests to external or internal resources. This enables server IP address disclosure (bypassing reverse proxies or NAT), internal network service enumeration, potential interaction with internal services that trust the server's IP, and generation of large volumes of traffic to third-party hosts (risking blocklist inclusion). Sensitive data from internal systems may be exposed, and arbitrary images or files could be downloaded to the server and embedded in patient records (GitHub Advisory).
A proof-of-concept exploit with detailed step-by-step reproduction instructions is publicly available in the GitHub Security Advisory, including a concrete HTML payload (<img src=https://webhook.site/...>) and observable results (GitHub Advisory). Exploitation requires authentication with the Notes - my encounters role, which is granted by default to Administrators, Clinicians, and Physicians groups. There is no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.038% (low probability of near-term exploitation), and the vulnerability is not listed in the CISA KEV catalog (Feedly).
Notes - my encounters role (e.g., a Clinician or Physician account).Patient > New/Search, create or open a visit via Patient > Visits > Create Visit, then navigate to Clinical > Eye Exam on the Encounter tab.HPI > HPI field, insert an HTML image tag referencing the callback URL, e.g., <img src="https://webhook.site/<your-unique-id>">.Save to store the malicious payload in the patient encounter record.File > Save Report as PDF. The mPDF library processes the form output as unescaped HTML and resolves the <img> tag by making an outbound HTTP GET request to the attacker-controlled URL./interface/forms/eye_mag/report.php) followed by unusual outbound connections; mPDF or PHP error logs referencing external URL resolution.<img>, <iframe>) in Eye Exam HPI or other form fields, visible when reviewing encounter data (GitHub Advisory).Upgrade OpenEMR to version 8.0.0.2 or later, which escapes all user-supplied form values in the Eye Exam report template to prevent HTML injection (Patch Commit). If immediate patching is not possible, restrict the Notes - my encounters role to only highly trusted users, or disable the Eye Exam PDF export feature until the patch can be applied. Additionally, configure network egress controls on the OpenEMR server to block or alert on unexpected outbound HTTP connections as a defense-in-depth measure (GitHub Advisory).
The vulnerability was reported by researcher lassiiiiii and remediated by kojiromike (Michael A. Smith) of OpenCoreEMR Inc. The advisory was published on GitHub on March 19, 2026, and noted by automated CVE tracking services and security aggregators including RedPacket Security and VulDB shortly after disclosure. No significant broader media coverage or notable researcher commentary beyond the advisory itself has been identified (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."