{"id":"CVE-2026-126451","aliases":["CVE-2026-126451"],"related":[],"kind":"vulnerability","state":"published","title":"OpenEMR before 8.5.0 Stored XSS via Document Template Rendering","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-13T09:35:12.702Z","modified":"2026-11-16T21:03:18.103Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"8.5.0","status":"affected"},{"type":"semver","version":"8.5.0","status":"unaffected"}],"vendor":"openemr","product":"openemr","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"8.5.0"}],"vendor":"open-emr","product":"openemr","cpe":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-hfpq-j3fj-cpmv","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-document-template-rendering","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["PhilipPhil","gracia-gu"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-13T15:35:18.789Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126451","url":"https://www.cve.org/CVERecord?id=CVE-2026-126451","licence":"CVE Terms of Use","modified":"2026-11-13T15:57:05.173Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126451","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126451","licence":"Public domain","modified":"2026-11-16T21:03:18.103Z"}],"updatedAt":"2026-11-25T22:59:50.661Z","epss":{"score":0.00275,"percentile":0.21352,"date":"2026-12-01T12:00:22.000Z"}}