{"id":"CVE-2026-126462","aliases":["CVE-2026-126462"],"related":[],"kind":"vulnerability","state":"published","title":"OpenEMR before 8.5.0 Stored XSS via Eye Exam Next Visit Orders","summary":"OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows authenticated users with Eye Exam edit permission to inject scripts via the Next Visit Orders PLAN[] field. Attackers can store a payload closing the textarea in view.php, executing JavaScript when another user opens the Eye Exam editor to steal session identifiers or clinical data.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows authenticated users with Eye Exam edit permission to inject scripts via the Next Visit Orders PLAN[] field. Attackers can store a payload closing the textarea in view.php, executing JavaScript when another user opens the Eye Exam editor to steal session identifiers or clinical data.","source":"cvelist"}],"published":"2026-11-13T09:35:05.862Z","modified":"2026-11-17T21:17:39.083Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":5.1,"rating":"MEDIUM"},{"scorer":"VulnCheck","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-rgv4-6mf9-hxwx","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-eye-exam-next-visit-orders","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["pavelkohout396","farisv"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-17T20:33:05.206Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126462","url":"https://www.cve.org/CVERecord?id=CVE-2026-126462","licence":"CVE Terms of Use","modified":"2026-11-17T20:40:15.134Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126462","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126462","licence":"Public domain","modified":"2026-11-17T21:17:39.083Z"}],"updatedAt":"2026-11-25T22:59:50.664Z","epss":{"score":0.00238,"percentile":0.15852,"date":"2026-12-01T12:00:22.000Z"}}