Cross-site scripting in OpenEMR - CVE-2025-69231

 

Cross-site scripting in OpenEMR - CVE-2025-69231

Published: April 23, 2026


Vulnerability identifier: #VU127249
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-69231
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenEMR
Affected software:
OpenEMR

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary script in a victim's browser and escalate privileges.

The vulnerability exists due to cross-site scripting in interface/forms/gad7/view.php when rendering stored GAD-7 form values into JavaScript code. A remote user can inject malicious JavaScript into form fields to execute arbitrary script in a victim's browser and escalate privileges.

User interaction is required, and the victim must click the Edit button on a compromised GAD-7 form. Only instances with the GAD-7 form enabled are vulnerable.


How to mitigate CVE-2025-69231

Install security update from vendor's website.

Sources