{"id":"CVE-2026-46518","aliases":["CVE-2026-46518"],"related":[],"kind":"vulnerability","state":"published","title":"OpenEMR: Stored XSS in prescription CSS/HTML print view via patient demographics","summary":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.1, a stored cross-site scripting vulnerability in the prescription CSS/HTML multi-print feature allows a patient portal user to execute arbitrary JavaScript in a clinician's browser session. Patient demographic fields (name, address) are rendered without output encoding in multiprintcss_header(), and portal patients can write attacker-controlled HTML directly into patient_data by calling the PUT api/patient/:num endpoint, which bypasses the intended audit review workflow. Because the XSS fires in the clinician's authenticated session on the main OpenEMR interface, the attacker can access CSRF tokens, session data, and perform actions as the clinician — crossing the patient-to-clinician trust boundary. This issue has been patched in version 8.0.0.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.1, a stored cross-site scripting vulnerability in the prescription CSS/HTML multi-print feature allows a patient portal user to execute arbitrary JavaScript in a clinician's browser session. Patient demographic fields (name, address) are rendered without output encoding in multiprintcss_header(), and portal patients can write attacker-controlled HTML directly into patient_data by calling the PUT api/patient/:num endpoint, which bypasses the intended audit review workflow. Because the XSS fires in the clinician's authenticated session on the main OpenEMR interface, the attacker can access CSRF tokens, session data, and perform actions as the clinician — crossing the patient-to-clinician trust boundary. This issue has been patched in version 8.0.0.1.","source":"cvelist"},{"lang":"es","text":"OpenEMR es una aplicación de gestión de registros médicos electrónicos y práctica médica de código abierto y gratuita. Antes de la versión 8.0.0.1, una vulnerabilidad de cross-site scripting almacenado en la función de impresión múltiple CSS/HTML de prescripciones permite a un usuario del portal de pacientes ejecutar JavaScript arbitrario en la sesión del navegador de un médico. Los campos demográficos del paciente (nombre, dirección) se renderizan sin codificación de salida en multiprintcss_header(), y los pacientes del portal pueden escribir HTML controlado por el atacante directamente en patient_data llamando al endpoint PUT api/patient/:num, lo que omite el flujo de trabajo de revisión de auditoría previsto. Debido a que el XSS se activa en la sesión autenticada del médico en la interfaz principal de OpenEMR, el atacante puede acceder a tokens CSRF, datos de sesión y realizar acciones como el médico - cruzando el límite de confianza entre paciente y médico. Este problema ha sido parcheado en la versión 8.0.0.1.","source":"nvd"}],"published":"2026-06-09T22:50:49.425Z","modified":"2026-07-23T09:10:00.113Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"}],"cwes":["CWE-79","CWE-862"],"affected":[{"ranges":[{"version":"< 8.0.0.1","status":"affected"}],"vendor":"openemr","product":"openemr","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"8.0.0.1"}],"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-4gh4-q39r-45wf","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-10T13:07:36.648Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46518","url":"https://www.cve.org/CVERecord?id=CVE-2026-46518","licence":"CVE Terms of Use","modified":"2026-06-10T13:08:03.185Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46518","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46518","licence":"Public domain","modified":"2026-07-23T09:10:00.113Z"}],"updatedAt":"2026-11-25T22:59:24.299Z","epss":{"score":0.00208,"percentile":0.1152,"date":"2026-12-01T12:00:22.000Z"}}