{"id":"CVE-2026-124448","kind":"vulnerability","aliases":["CVE-2026-124448"],"related":[],"title":"OpenEMR: stored script injection in CCDA preview lets attackers run code","description":"OpenEMR before 8.3.0 contains a stored cross-site scripting vulnerability in the CCDA/CCD preview stylesheets, where cda.xsl copies event-handler attributes whose values evade a character denylist and ccd.xsl copies table-cell attributes unsanitized into preview HTML. Authenticated users can upload a crafted CCDA/CCD document with onmouseover, onclick, or onfocus handlers to execute script in a clinician's session when previewed.","summary":"OpenEMR before 8.3.0 fails to strip event-handler attributes from CCDA/CCD preview stylesheets, so a crafted uploaded document can carry script. When a clinician previews that document, the script runs in their session and can act as them inside the record system.","severity":"high","cvss":8.6,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["healthcare","openemr","other","self-hosted"],"not_affected_if":["no-ccda-upload","openemr-8.3.0-or-later"],"how_to_check":"- Check the installed OpenEMR version against the fixed release in the product ranges; affected versions are those before `8.3.0`.\n- Look for a CCDA/CCD upload or preview feature in use (unknown whether the sources name a specific menu path).","fix":"- OpenEMR: upgrade to `8.3.0` or later.","status":"open","published_at":"2026-11-08T14:18:11+00:00","first_seen_at":"2026-11-08T14:48:39+00:00","triaged_at":"2026-11-08T14:49:15+00:00","updated_at":"2026-11-08T14:49:15+00:00","category":"other","confidence":0.8,"triage":{"at":"2026-11-08T14:49:15Z","model":"claude-haiku-5-5","output":{"fix":"- OpenEMR: upgrade to `8.3.0` or later.","reach":"network","title":"OpenEMR: stored script injection in CCDA preview lets attackers run code","impact":"high","summary":"OpenEMR before 8.3.0 fails to strip event-handler attributes from CCDA/CCD preview stylesheets, so a crafted uploaded document can carry script. When a clinician previews that document, the script runs in their session and can act as them inside the record system.","audience":"businesses","category":"other","nicknames":[],"who_cares":["openemr","healthcare","self-hosted"],"confidence":0.8,"fix_status":"available","needs_auth":"yes","worst_case":"script runs in a clinician's session, reading or altering patient records","analyst_note":"","how_to_check":"- Check the installed OpenEMR version against the fixed release in the product ranges; affected versions are those before `8.3.0`.\n- Look for a CCDA/CCD upload or preview feature in use (unknown whether the sources name a specific menu path).","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["openemr-8.3.0-or-later","no-ccda-upload"],"who_is_affected":"Clinics and hospitals running OpenEMR before 8.3.0 that let users upload CCDA/CCD clinical documents. The risk requires a logged-in user to upload a crafted document and a clinician to preview it, so installations that do not accept or preview these documents are less exposed.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.00074,"input_tokens":4666,"output_tokens":547,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-124448':14A,17A '-2026':13A,16A '8.3.0':26B,69C 'act':60B 'attack':9A 'attribut':33B,89C,102C 'authent':107C 'carri':44B 'ccd.xsl':97C 'ccda':6A 'ccda/ccd':35B,80C,113C 'cda.xsl':84C 'cell':101C 'charact':94C 'clinician':48B,126C 'code':11A 'contain':70C 'copi':85C,98C 'craft':40B,112C 'cross':74C 'cross-sit':73C 'cve':12A,15A 'denylist':95C 'document':42B,51B,114C 'evad':92C 'event':31B,87C 'event-handl':30B,86C 'execut':122C 'fail':27B 'handler':32B,88C,120C 'healthcar':18B 'host':23B 'html':106C 'inject':4A 'insid':63B 'let':8A 'onclick':117C 'onfocus':119C 'onmouseov':116C 'openemr':1A,19B,24B,67C 'preview':7A,36B,49B,81C,105C,130C 'record':65B 'run':10A,54B 'script':3A,45B,53B,76C,123C 'self':22B 'self-host':21B 'session':57B,128C 'site':75C 'store':2A,72C 'strip':29B 'stylesheet':37B,82C 'system':66B 'tabl':100C 'table-cel':99C 'unsanit':103C 'upload':41B,110C 'user':108C 'valu':91C 'vulner':77C 'whose':90C","nicknames":[],"mitigations":[],"who_affected":"Clinics and hospitals running OpenEMR before 8.3.0 that let users upload CCDA/CCD clinical documents. The risk requires a logged-in user to upload a crafted document and a clinician to preview it, so installations that do not accept or preview these documents are less exposed.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["healthcare","high","openemr","other","selfhosted"],"campaign_type":null,"search_a":"'-124448':14A,17A '-2026':13A,16A 'attack':9A 'ccda':6A 'code':11A 'cve':12A,15A 'inject':4A 'let':8A 'openemr':1A 'preview':7A 'run':10A 'script':3A 'store':2A","search_b":"'8.3.0':26B 'act':60B 'attribut':33B 'carri':44B 'ccda/ccd':35B 'clinician':48B 'craft':40B 'document':42B,51B 'event':31B 'event-handl':30B 'fail':27B 'handler':32B 'healthcar':18B 'host':23B 'insid':63B 'openemr':19B,24B 'preview':36B,49B 'record':65B 'run':54B 'script':45B,53B 'self':22B 'self-host':21B 'session':57B 'strip':29B 'stylesheet':37B 'system':66B 'upload':41B","search_c":"'8.3.0':69C 'attribut':89C,102C 'authent':107C 'ccd.xsl':97C 'ccda/ccd':80C,113C 'cda.xsl':84C 'cell':101C 'charact':94C 'clinician':126C 'contain':70C 'copi':85C,98C 'craft':112C 'cross':74C 'cross-sit':73C 'denylist':95C 'document':114C 'evad':92C 'event':87C 'event-handl':86C 'execut':122C 'handler':88C,120C 'html':106C 'onclick':117C 'onfocus':119C 'onmouseov':116C 'openemr':67C 'preview':81C,105C,130C 'script':76C,123C 'session':128C 'site':75C 'store':72C 'stylesheet':82C 'tabl':100C 'table-cel':99C 'unsanit':103C 'upload':110C 'user':108C 'valu':91C 'vulner':77C 'whose':90C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-08-18T08:43:40+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-124448","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124448","severity":null,"published_at":"2026-11-08T14:18:11+00:00","modified_at":"2026-11-08T14:18:11+00:00","first_seen_at":"2026-11-08T14:48:39+00:00","fetched_at":"2026-11-08T14:48:39+00:00","note":null}],"documents":[{"id":102081,"url":"https://github.com/openemr/openemr/security/advisories/GHSA-rghp-vwvf-c2r9","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-08-18T08:43:40+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":102082,"url":"https://www.vulncheck.com/advisories/openemr-before-8.3.0-stored-xss-via-ccda-ccd-preview-xslt-attributes","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}