{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-46518: OpenEMR: Stored XSS in prescription CSS/HTML print view via patient demographics","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-46518","status":"final","version":"1","initial_release_date":"2026-06-09T22:50:49.425Z","current_release_date":"2026-06-10T13:08:03.185Z","revision_history":[{"date":"2026-06-09T22:50:49.425Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-46518 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-46518"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-46518"},{"category":"external","summary":"https://github.com/openemr/openemr/security/advisories/GHSA-4gh4-q39r-45wf","url":"https://github.com/openemr/openemr/security/advisories/GHSA-4gh4-q39r-45wf"}]},"product_tree":{"branches":[{"category":"vendor","name":"openemr","branches":[{"category":"product_name","name":"openemr","branches":[{"category":"product_version","name":"< 8.0.0.1","product":{"name":"openemr openemr < 8.0.0.1","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:openemr:openemr:\\<_8.0.0.1:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-46518","title":"OpenEMR: Stored XSS in prescription CSS/HTML print view via patient demographics","notes":[{"category":"description","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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","baseScore":7.7,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}