Cross-site scripting in OpenEMR - #VU158841

 

Cross-site scripting in OpenEMR - #VU158841

Published: November 3, 2026


Vulnerability identifier: #VU158841
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to execute arbitrary JavaScript in a clinician's OpenEMR session, read same-origin patient information, and submit actions with the clinician's privileges.

The vulnerability exists due to improper neutralization of stored code descriptions in the Functional and Cognitive Status form and layout-based fee-sheet forms when rendering a code selected by a clinician. A remote privileged user can use admin/superbill write permission to store a SNOMED code description containing <img src=x onerror=alert(1)>, which is subsequently assigned to innerHTML, to execute JavaScript in the clinician's authenticated session.


Affected software

OpenEMR

Remediation

Install security update from vendor's website.

OpenEMR - update to 8.5.0

External References

Related Security Bulletins