{"id":"CVE-2026-33933","state":"PUBLISHED","title":"Reflected XSS via Unescaped contextName Parameter in Custom Template Editor","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.","publishedAt":"2026-03-25T23:40:16.193Z","updatedAt":"2026-03-26T14:23:30.021Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["openemr openemr"],"affected":[{"vendor":"openemr","product":"openemr","versions":[{"version":">= 7.0.2.1, < 8.0.0.3","status":"affected"}]}],"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"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33933.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33933","state":"PUBLISHED","datePublished":"2026-03-25T23:40:16.193Z","dateUpdated":"2026-03-26T14:23:30.021Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-24T19:50:52.103Z"},"containers":{"cna":{"title":"Reflected XSS via Unescaped contextName Parameter in Custom Template Editor","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"openemr","product":"openemr","versions":[{"version":">= 7.0.2.1, < 8.0.0.3","status":"affected"}]}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-9qh7-cfq4-j7c3","name":"https://github.com/openemr/openemr/security/advisories/GHSA-9qh7-cfq4-j7c3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openemr/openemr/commit/d5c8d49ef19983472b2d7db0dbebd2dac9d6a200","name":"https://github.com/openemr/openemr/commit/d5c8d49ef19983472b2d7db0dbebd2dac9d6a200","tags":["x_refsource_MISC"]},{"url":"https://github.com/openemr/openemr/commit/de9b6eb0da574430e8223c014cf4a05b0adc29d8","name":"https://github.com/openemr/openemr/commit/de9b6eb0da574430e8223c014cf4a05b0adc29d8","tags":["x_refsource_MISC"]},{"url":"https://github.com/openemr/openemr/releases/tag/v8_0_0_3","name":"https://github.com/openemr/openemr/releases/tag/v8_0_0_3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-25T23:40:16.193Z"},"source":{"advisory":"GHSA-9qh7-cfq4-j7c3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-9qh7-cfq4-j7c3","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-26T14:23:26.710975Z","id":"CVE-2026-33933","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-26T14:23:30.021Z"}}]}}}