# CVE-2026-33933: Reflected XSS via Unescaped contextName Parameter in Custom Template Editor

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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.31%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-25T23:40:16.193Z
- Modified: 2026-06-17T10:38:19.557Z
- Weaknesses: CWE-79
- 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. Starting in version 7.0.2.1 and prior to version 8.0.0.3, a reflected cross-site scripting (XSS) vulnerability in the custom template editor allows an attacker to execute arbitrary JavaScript in an authenticated staff member's browser session by sending them a crafted URL. The attacker does not need an OpenEMR account. Version 8.0.0.3 patches the issue.

(As written by CVE List.)

## Affected

- openemr openemr: >= 7.0.2.1, < 8.0.0.3
- open-emr openemr: from 7.0.2.1 before 8.0.0.3

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-9qh7-cfq4-j7c3> (exploit, vendor-advisory)
- <https://github.com/openemr/openemr/commit/d5c8d49ef19983472b2d7db0dbebd2dac9d6a200> (patch)
- <https://github.com/openemr/openemr/commit/de9b6eb0da574430e8223c014cf4a05b0adc29d8> (patch)
- <https://github.com/openemr/openemr/releases/tag/v8_0_0_3> (product)

## Sources

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

---

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