CVE-2026-33346: OpenEMR has stored XSS in portal_payment.php via Unescaped table_args
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.2, a stored cross-site scripting (XSS) vulnerability in the patient portal payment flow allows a patient portal user to persist arbitrary JavaScript that executes in the browser of a staff member who reviews the payment submission. The payload is stored via portal/lib/paylib.php and rendered without escaping in portal/portalpayment.php. Version 8.0.0.2 fixes the issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-33346?
CVE-2026-33346 has a high severity rating due to its potential to allow stored cross-site scripting attacks.
How do I fix CVE-2026-33346?
To fix CVE-2026-33346, upgrade OpenEMR to version 8.0.0.2 or later to eliminate the vulnerability.
What software is affected by CVE-2026-33346?
CVE-2026-33346 affects OpenEMR versions prior to 8.0.0.2.
What type of vulnerability is CVE-2026-33346?
CVE-2026-33346 is a stored cross-site scripting (XSS) vulnerability.
What should users of OpenEMR do regarding CVE-2026-33346?
Users of OpenEMR should immediately update to version 8.0.0.2 or later to protect against CVE-2026-33346.