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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.6
- **CVSS:** 7.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.41% (percentile 73, 2026-11-26)
- **CWE:** CWE-79
- **Published:** 2025-05-23T15:35:01.087Z
- **Modified:** 2026-06-17T09:24:39.680Z

## Who should check

- Anyone running openemr \< 7.0.3.4

## 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.

## Affected and fixed versions

- openemr: \< 7.0.3.4 (cvelist)

## Mitigation

- Upgrade openemr to 7.0.3.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-43860. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-43860.md
Affected: openemr < 7.0.3.4
Fixed in: openemr 7.0.3.4

Steps:
1. Search this machine and project for openemr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-43860 being exploited?

There is no confirmed exploitation: CVE-2025-43860 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.41% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-43860?

High: CVSS 7.6 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-43860?

openemr \< 7.0.3.4.

### Is there a fix for CVE-2025-43860?

Yes. Fixed in openemr 7.0.3.4. Upgrade openemr to 7.0.3.4 or later.

### How do I check if I'm affected by CVE-2025-43860?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/openemr/openemr/security/advisories/GHSA-2h9p-7vmc-wmqv>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-43860>

HTML: <https://flawdb.com/CVE-2025-43860> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-43860>
