CVE-2026-33303OpenEMR Vulnerable to Stored XSS via Unescaped portal_login_username in Credential Print View
Updated under an hour ago ()
Does this affect you?
It affects openemr and 1 other product. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.68%, higher than 51% of scored CVEs.
Do this next
Free account, 1 product
OpenEMR is a free and open source electronic health records and medical practice management application. Versions prior to 8.0.0.2 are vulnerable to stored cross-site scripting (XSS) via unescaped `portal_login_username` in the portal credential print view. A patient portal user can set their login username to an XSS payload, which then executes in a clinic staff member's browser when they open the "Create Portal Login" page for that patient. This crosses from the patient session context into the staff/admin session context. Version 8.0.0.2 fixes the issue.
- CVSS
- 5.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weakness (CWE)
- CWE-79
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.68% (percentile 51)
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Mar 24, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
openemr openemr openemr:openemr (from the name) | before 8.0.0.2 | CNA record |
open-emr openemr open-emr:openemr | before 8.0.0.2 | NVD |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-cp37-pmfx-5mhmx-refsource-confirm, exploit, vendor-advisory
- https://github.com/openemr/openemr/commit/c32139b5144b1c704015221520ad2f931e25f10dx-refsource-misc, patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.