{"id":"CVE-2026-126451","published":"2026-11-13T09:35:12Z","modified":"2026-11-13T15:57:05Z","title":"OpenEMR before 8.5.0 Stored XSS via Document Template Rendering","vendor":"openemr","product":"openemr","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00275,"percentile":0.20401,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-hfpq-j3fj-cpmv","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-document-template-rendering","tags":["third-party-advisory"]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":4.08},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"openemr","affectedVersions":[{"vendor":"openemr","product":"openemr","versions":["< 8.5.0"]}],"fixedVersions":[{"vendor":"openemr","product":"openemr","versions":["8.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-13T15:35:18.789189Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-124977","exploited":false,"provenance":"source"}}