#VU127242 Cross-site scripting in OpenEMR - CVE-2025-31121

 

#VU127242 Cross-site scripting in OpenEMR - CVE-2025-31121

Published: April 1, 2025 / Updated: April 23, 2026


Vulnerability identifier: #VU127242
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-31121
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
OpenEMR
Software vendor:
OpenEMR

Description

The vulnerability allows a remote user to execute arbitrary script in a user's browser.

The vulnerability exists due to cross-site scripting in the Patient Image feature when rendering user-supplied image-related content. A remote privileged user can inject a crafted payload to execute arbitrary script in a user's browser.

User interaction is required for exploitation.


Remediation

Install security update from vendor's website.

External links