SecurityContext

CVE-2026-33303: OpenEMR - Stored XSS

  • Cve: CVE-2026-33303
  • Name: OpenEMR - Stored XSS
  • Description: 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.
  • Impact: Patient users can execute scripts in staff/admin browsers, 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: none
  • 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.00271
  • Epss percentile: 0.19505
  • Assignee: [email protected]
  • Published at: 2026-03-19T21:17:11Z
  • Age in days: 250
  • Modified at: 2026-06-17T10:37:17Z
  • 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-33303
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/openemr/openemr/security/advisories/GHSA-cp37-pmfx-5mhmnvd2026-03-19

References

UrlSourceTags
https://github.com/openemr/openemr/commit/c32139b5144b1c704015221520ad2f931e25f10dnvdPatch
https://github.com/openemr/openemr/security/advisories/GHSA-cp37-pmfx-5mhmnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
open-emr:openemr< 8.0.0.2nonvd/v1/products/open-emr/openemr

Projects

RepositoryLink kindsIndexedUrl
openemr/openemrcommit, security_advisoryyes/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