CVE-2021-25919Openemr XSS
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.
Published Mar 22, 2021 · Updated Oct 20, 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. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 66% 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.
Scores
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)
66%
Higher than 99.2% of all scored CVEs
Exploit maturity
None known
ATLAS score
21/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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
Oct 20, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
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.
A public exploit is reported by tracking sources, but no code link is listed yet.
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo