{"id":"CVE-2026-33933","summary":"Reflected XSS via Unescaped contextName Parameter in Custom Template Editor","details":"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.","aliases":["GHSA-9qh7-cfq4-j7c3"],"modified":"2026-07-15T01:49:02.196594632Z","published":"2026-03-25T23:40:16.193Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33933.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/openemr/openemr/releases/tag/v8_0_0_3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33933.json"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-9qh7-cfq4-j7c3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33933"},{"type":"FIX","url":"https://github.com/openemr/openemr/commit/d5c8d49ef19983472b2d7db0dbebd2dac9d6a200"},{"type":"FIX","url":"https://github.com/openemr/openemr/commit/de9b6eb0da574430e8223c014cf4a05b0adc29d8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"452becc1ad29476ba51120f4764440c08741802b"},{"fixed":"7c96c8eefe460d6fadbccbe93d0fa6bf819acd69"},{"fixed":"d5c8d49ef19983472b2d7db0dbebd2dac9d6a200"},{"fixed":"de9b6eb0da574430e8223c014cf4a05b0adc29d8"}],"database_specific":{"cpe":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.0.2.1"},{"fixed":"8.0.0.3"}],"source":["CPE_RANGE","REFERENCES"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33933.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}