What’s Vulnerable › Vulnerabilities
CVE-2021-25921
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 91.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-03-22 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- openemr: from 2.7.3 through 6.0.0
References
- https://github.com/openemr/openemr/commit/0fadc3e592d84bc9dfe9e0403f8bd6e3c7d8427f
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25921
- https://github.com/openemr/openemr/commit/0fadc3e592d84bc9dfe9e0403f8bd6e3c7d8427f
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25921
Get alerted when CVE-2021-25921 or the next vulnerability affects your stack