Back to CVE records
Medium 5.4HealthcarePublished Mar 19, 2026

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.

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

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

  • x-refsource-confirm, exploit, vendor-advisory
  • x-refsource-misc, patch

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.