CVE-2021-25921Open-emr Openemr
Medium 5.4
Follow: this CVE · Open-emr · Open-emr Openemr We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- —
- 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:L/UI:R/S:C/C:L/I:L/A:N
What happens
In OpenEMR, versions 2.7.3-rc1 to 6.0.0 are vulnerable to Stored Cross-Site-Scripting (XSS) due to user input not being validated properly in the `Allergies` section. An attacker could lure an admin to enter a malicious payload and by that initiate the exploit.
What to do
- Apply the vendor's security update for Openemr.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| open-emr | openemr | ≥ 2.7.3 ≤ 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