# CVE-2026-33346: OpenEMR has stored XSS in portal_payment.php via Unescaped table_args

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-19T20:33:10.437Z
- Modified: 2026-06-17T10:37:21.160Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- openemr openemr: < 8.0.0.2
- open-emr openemr: before 8.0.0.2

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-qvf6-6xc6-9qv7> (exploit, vendor-advisory)
- <https://github.com/openemr/openemr/commit/6e9e1566d6e271a6d839614674b887e3a73d7da1> (patch)

## Sources

- CVE List: [CVE-2026-33346](https://www.cve.org/CVERecord?id=CVE-2026-33346), CVE Terms of Use, modified 2026-03-20
- NVD: [CVE-2026-33346](https://nvd.nist.gov/vuln/detail/CVE-2026-33346), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33346 · Whole record: https://cve.day/CVE-2026-33346.json · Rebuilt by cve.day 2026-11-25T22:59:16.193Z
