{"vuln_id":"CVE-2026-126451","aliases":["GHSA-hfpq-j3fj-cpmv"],"description":"OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows portal patients to run JavaScript in staff sessions by injecting javascript: URLs into document template_data. Attackers can submit an encounterForm value rendered unsanitized into an iframe src by DocumentTemplateRender, letting the script read PHI and CSRF tokens and call staff or admin endpoints.","published_at":"2026-11-13T10:17:52.993000Z","modified_at":"2026-11-16T21:03:18.103000Z","first_seen_at":"2026-11-21T19:15:48.552117Z","severity":"high","severity_source":"nvd","cvss_score":8.5,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/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","cwe":["CWE-79"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00275,"epss_percentile":0.20204,"nvd_status":"Analyzed","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-126451"},"matched_alias":null,"items":[{"id":5478,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-126451: OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows portal patients to run JavaScript in staff sessions by injecting javascri…","summary":"OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows portal patients to run JavaScript in staff sessions by injecting javascript: URLs into document template_data. Attackers can submit an encounterForm value rendered unsanitized into an iframe src by DocumentTemplateRender, letting the script read PHI and CSRF tokens and call staff or admin endpoints.\n\nReferences:\nhttps://github.com/openemr/openemr/security/advisories/GHSA-hfpq-j3fj-cpmv\nhttps://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-document-template-rendering","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126451","published_at":"2026-11-13T10:17:52.993000Z","updated_at":"2026-11-16T21:03:18.103000Z","fetched_at":"2026-11-21T19:15:31.480993Z","severity":"high","cvss_score":8.5,"epss":0.00275,"is_kev":false,"has_exploit":true,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-126451","vuln_ids":["CVE-2026-126451","GHSA-HFPQ-J3FJ-CPMV"],"tags":["CWE-79"],"cluster_id":5933,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/5478","html":"https://vulnwatch.ve1ve2.com/item/5478"}}]}