{"id":"CVE-2026-33346","aliases":["CVE-2026-33346"],"related":[],"kind":"vulnerability","state":"published","title":"OpenEMR has stored XSS in portal_payment.php via Unescaped table_args","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"OpenEMR es una aplicación gratuita y de código abierto de registros médicos electrónicos y gestión de consultorios médicos. Antes de la versión 8.0.0.2, una vulnerabilidad de cross-site scripting (XSS) almacenado en el flujo de pago del portal del paciente permite a un usuario del portal del paciente persistir JavaScript arbitrario que se ejecuta en el navegador de un miembro del personal que revisa el envío del pago. La carga útil se almacena a través de 'portal/lib/paylib.php' y se renderiza sin escape en 'portal/portal_payment.php'. La versión 8.0.0.2 corrige el problema.","source":"nvd"}],"published":"2026-03-19T20:33:10.437Z","modified":"2026-06-17T10:37:21.160Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 8.0.0.2","status":"affected"}],"vendor":"openemr","product":"openemr","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"8.0.0.2"}],"vendor":"open-emr","product":"openemr","cpe":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-qvf6-6xc6-9qv7","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openemr/openemr/commit/6e9e1566d6e271a6d839614674b887e3a73d7da1","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-03-20T17:03:37.841Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33346","url":"https://www.cve.org/CVERecord?id=CVE-2026-33346","licence":"CVE Terms of Use","modified":"2026-03-20T18:10:45.920Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33346","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33346","licence":"Public domain","modified":"2026-06-17T10:37:21.160Z"}],"updatedAt":"2026-11-25T22:59:16.193Z","epss":{"score":0.00365,"percentile":0.32356,"date":"2026-12-01T12:00:22.000Z"}}