CVE-2025-43860 OpemEMR Vulnerable to Stored XSS Attack in the Additional Address Section of Patient Demographics

High 7.6 Published Updated

Authenticated users can inject malicious JavaScript into patient address fields, leading to script execution when viewed or edited.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-43860?

CVE-2025-43860 is a high-severity cross-site scripting vulnerability in Open-Emr Openemr, published on 23 May 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

OpenEMR is a free and open source electronic health records and medical practice management application. A stored cross-site scripting (XSS) vulnerability in versions prior to 7.0.3.4 allows any authenticated user with patient creation and editing privileges to inject arbitrary JavaScript code into the system by entering malicious payloads in the (1) Text Box fields of Address, Address Line 2, Postal Code and City fields and (2) Drop Down menu options of Address Use, State and Country of the Additional Addresses section of the Contact tab in Patient Demographics. The injected script can execute in two scenarios: (1) dynamically during form input, and (2) when the form data is later loaded for editing. Version 7.0.3.4 contains a patch for the issue.

Weakness: CWE-79

Which versions are affected by CVE-2025-43860?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2025-43860?

No fix has been published for CVE-2025-43860 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-43860 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-43860 exists.

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-2h9p-7vmc-wmqv.

Is CVE-2025-43860 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free