XSS in Open-Emr Openemr
CVE-2026-33299
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.2, users with the `Notes - my encounters` role can fill **Eye Exam** forms in patient encounters. The answers to the form are displayed on the encounter page and in the visit history for the users with the same role. There exists a stored cross-site scripting (XSS) vulnerability in the function to display the form answers, allowing any authenticated attacker with the specific role to insert arbitrary JavaScript into the system by entering malicious payloads to the form answers. The JavaScript code is later executed by any user with the form role when viewing the form answers in the patient encounter pages or visit history. Version 8.0.0.2 fixes the issue.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.007 (49.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 49.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.007 · change: +0.005
Affected products
- Open-Emr Openemr
- Openemr — versions < 8.0.0.2
Weakness classification (CWE)
References
- github.com/openemr/openemr/security/advisories/GHSA-pgvq-f22q-2whp (Exploit, Vendor Advisory)
- github.com/openemr/openemr/commit/dccc962f06bdf6105ca85c277915167caf3e7c28 (Patch)
Frequently asked questions
- What is CVE-2026-33299?
- CVE-2026-33299 is a medium-severity vulnerability in Open-Emr Openemr, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-03-19.
- How severe is CVE-2026-33299?
- Medium severity. CVSS v3 base score is 5.4 out of 10.