CVE-2021-25917Open-emr Openemr
Medium 4.8
Follow: this CVE · Open-emr · Open-emr Openemr We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 51
- Auth required
- Yes
- Published
- Mar 22, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
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 and rendered in the U2F USB Device authentication method page. A highly privileged attacker could inject arbitrary code into input fields when creating a new user.
What to do
- Apply the vendor's security update for Openemr.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| open-emr | openemr | ≥ 5.0.2 ≤ 6.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- www.whitesourcesoftware.com Third Party Advisory