CVE-2021-25919
MediumPublic exploitIn OpenEMR, versions 5.0.2 to 6.0.0 are vulnerable to Stored Cross-Site-Scripting (XSS) due to user input not being validated properly.
Published Mar 22, 2021 · Updated Jul 9, 2026
Key Facts
Patch immediately- CVE-2021-25919 is a medium-severity vulnerability (CVSS 4.8 v3.1) affecting Openemr (Open-Emr).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 70% probability of exploitation in the next 30 days.
- Fixed versions are available, including Openemr <=6.0.0, Openemr 6.0.0.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
4.8
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
70%
Higher than 99.3% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2021-25919 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
In OpenEMR, versions 5.0.2 to 6.0.0 are vulnerable to Stored Cross-Site-Scripting (XSS) due to user input not being validated properly. A highly privileged attacker could inject arbitrary code into input fields when creating a new user.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| OpenemrOpen-Emr | >= 5.0.2, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.2.4, 6.0.0 | 6.0.0 |
Patched Releases
Openemr
<=6.0.0
Timeline
Publicly disclosed
Mar 22, 2021
Last updated
Jul 9, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
FAQ
Common Questions.
In OpenEMR, versions 5.0.2 to 6.0.0 are vulnerable to Stored Cross-Site-Scripting (XSS) due to user input not being validated properly.
Affected: Openemr (Open-Emr) versions >= 5.0.2, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.2.4, 6.0.0. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Openemr <=6.0.0, Openemr 6.0.0.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2021-25919 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo