{"id":"CVE-2026-33932","state":"PUBLISHED","title":"OpenEMR has Stored XSS in CCDA Preview via Unsanitized linkHtml Attributes","description":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, a stored cross-site scripting vulnerability in the CCDA document preview allows an attacker who can upload or send a CCDA document to execute arbitrary JavaScript in a clinician's browser session when the document is previewed. The XSL stylesheet sanitizes attributes for all other narrative elements but not for `linkHtml`, allowing `href=\"javascript:...\"` and event handler attributes to pass through unchanged. Version 8.0.0.3 patches the issue.","publishedAt":"2026-03-25T23:37:58.427Z","updatedAt":"2026-03-30T14:56:39.996Z","severity":{"score":7.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["openemr openemr"],"affected":[{"vendor":"openemr","product":"openemr","versions":[{"version":"< 8.0.0.3","status":"affected"}]}],"references":["https://github.com/openemr/openemr/security/advisories/GHSA-g77x-9p3x-2j8f","https://github.com/openemr/openemr/commit/95e6078889b5399b12b59117f998560cd94bd47d","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-33932.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33932","state":"PUBLISHED","datePublished":"2026-03-25T23:37:58.427Z","dateUpdated":"2026-03-30T14:56:39.996Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-24T19:50:52.103Z"},"containers":{"cna":{"title":"OpenEMR has Stored XSS in CCDA Preview via Unsanitized linkHtml Attributes","descriptions":[{"lang":"en","value":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, a stored cross-site scripting vulnerability in the CCDA document preview allows an attacker who can upload or send a CCDA document to execute arbitrary JavaScript in a clinician's browser session when the document is previewed. The XSL stylesheet sanitizes attributes for all other narrative elements but not for `linkHtml`, allowing `href=\"javascript:...\"` and event handler attributes to pass through unchanged. Version 8.0.0.3 patches the issue."}],"affected":[{"vendor":"openemr","product":"openemr","versions":[{"version":"< 8.0.0.3","status":"affected"}]}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-g77x-9p3x-2j8f","name":"https://github.com/openemr/openemr/security/advisories/GHSA-g77x-9p3x-2j8f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openemr/openemr/commit/95e6078889b5399b12b59117f998560cd94bd47d","name":"https://github.com/openemr/openemr/commit/95e6078889b5399b12b59117f998560cd94bd47d","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":7.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/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:37:58.427Z"},"source":{"advisory":"GHSA-g77x-9p3x-2j8f","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-30T13:19:22.777284Z","id":"CVE-2026-33932","options":[{"Exploitation":"none"},{"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-30T14:56:39.996Z"}}]}}}