{"id":"CVE-2026-33303","published":"2026-03-19T20:25:05Z","modified":"2026-03-24T19:46:49Z","title":"OpenEMR Vulnerable to Stored XSS via Unescaped portal_login_username in Credential Print View","vendor":"openemr","product":"openemr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00271,"percentile":0.19729,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-cp37-pmfx-5mhm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openemr/openemr/commit/c32139b5144b1c704015221520ad2f931e25f10d","tags":["x_refsource_MISC"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":3.95},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"openemr","affectedVersions":[{"vendor":"openemr","product":"openemr","versions":["< 8.0.0.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-24T19:46:26.187455Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-13223","exploited":false,"provenance":"source"}}