OpenEMR has Stored XSS in CCDA Preview via Unsanitized linkHtml Attributes
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-33932
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 08:59 UTC · Revision 1
Source evidence
OpenEMR has Stored XSS in CCDA Preview via Unsanitized linkHtml Attributes
core-osv · Original sourcePublished 25 Mar 2026, 23:37 UTC
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.
osv:CVE-2026-33932
Complete source record
{
"id": "3d5771b58b12efb5a91c8c4b1be2d2dee20725f9805affec66a0b3edef570a60",
"url": "https://osv.dev/vulnerability/CVE-2026-33932",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OpenEMR has Stored XSS in CCDA Preview via Unsanitized linkHtml Attributes",
"summary": "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.",
"evidence": "osv:CVE-2026-33932",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-33932",
"aliases": [
"CVE-2026-33932",
"GHSA-g77x-9p3x-2j8f"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openemr/openemr",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "7c96c8eefe460d6fadbccbe93d0fa6bf819acd69"
},
{
"fixed": "95e6078889b5399b12b59117f998560cd94bd47d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.0.0.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "95e6078889b5399b12b59117f998560cd94bd47d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "7c96c8eefe460d6fadbccbe93d0fa6bf819acd69"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v8_0_0_3"
}
]
}
}
],
"versions": [
"v8_0_0_2",
"v8_0_0_1",
"v8_0_0",
"v3_0_1",
"v3_0_0",
"v2_9_0",
"v2_8_3",
"v2_8_2",
"v2_8_1",
"v2_8_0",
"v2_7_3-rc1",
"v2_7_2",
"v2_7_2-rc2",
"v2_7_2-rc1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33932.json"
}
}
],
"modified": "2026-10-28T02:30:34.114143329Z",
"provider": "osv",
"references": [
"https://github.com/openemr/openemr/releases/tag/v8_0_0_3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33932.json",
"https://github.com/openemr/openemr/security/advisories/GHSA-g77x-9p3x-2j8f",
"https://nvd.nist.gov/vuln/detail/CVE-2026-33932",
"https://github.com/openemr/openemr/commit/95e6078889b5399b12b59117f998560cd94bd47d"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33932.json"
}
},
"related_cves": [
{
"value": "CVE-2026-33932",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 501284,
"published_at": "2026-03-25T23:37:58.427+00:00"
}