Skip to content
OpenAdvisories
High · 8.7 CVE-2026-33346 EUVD-2026-13229

OpenEMR has stored XSS in portal_payment.php via Unescaped table_args

Published Mar 19, 2026 · Updated Mar 20, 2026 · Assigned by GitHub_M

Description

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/portal_payment.php`. Version 8.0.0.2 fixes the issue.

Affected products

VendorProductAffectedFixed
openemr openemr < 8.0.0.2 —

References