# CVE-2026-46518: OpenEMR: Stored XSS in prescription CSS/HTML print view via patient demographics

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/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.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-09T22:50:49.425Z
- Modified: 2026-07-23T09:10:00.113Z
- Weaknesses: CWE-79, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.1, a stored cross-site scripting vulnerability in the prescription CSS/HTML multi-print feature allows a patient portal user to execute arbitrary JavaScript in a clinician's browser session. Patient demographic fields (name, address) are rendered without output encoding in multiprintcss_header(), and portal patients can write attacker-controlled HTML directly into patient_data by calling the PUT api/patient/:num endpoint, which bypasses the intended audit review workflow. Because the XSS fires in the clinician's authenticated session on the main OpenEMR interface, the attacker can access CSRF tokens, session data, and perform actions as the clinician — crossing the patient-to-clinician trust boundary. This issue has been patched in version 8.0.0.1.

(As written by CVE List.)

## Affected

- openemr openemr: < 8.0.0.1
- open-emr openemr: before 8.0.0.1

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-4gh4-q39r-45wf> (exploit, vendor-advisory)

## Sources

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

---

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