CVE-2026-33299: OpenEMR - Stored XSS
- Cve: CVE-2026-33299
- Name: OpenEMR - Stored XSS
- Description: 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.
- Impact: Authenticated users with the role can execute arbitrary JavaScript, potentially leading to session hijacking or unauthorized actions.
- Remediation: Update to version 8.0.0.2 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: logged_in
- Requirements: Attacker must have 'Notes - my encounters' role and be authenticated
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00202
- Epss percentile: 0.10132
- Assignee: [email protected]
- Published at: 2026-03-19T21:17:11Z
- Age in days: 250
- Modified at: 2026-06-17T10:37:16Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-33299
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/openemr/openemr/security/advisories/GHSA-pgvq-f22q-2whp | nvd | 2026-03-19 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/openemr/openemr/commit/dccc962f06bdf6105ca85c277915167caf3e7c28 | nvd | Patch |
| https://github.com/openemr/openemr/security/advisories/GHSA-pgvq-f22q-2whp | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| open-emr:openemr | < 8.0.0.2 | no | nvd | /v1/products/open-emr/openemr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openemr/openemr | commit, fix, security_advisory | yes | /v1/repositories/openemr/openemr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-19
- Remote: yes
- Authentication required: yes
- Exposed hosts: 2328
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports