CVE-2021-25921

CVE-2021-25921 is a medium-severity vulnerability in Open-emr Openemr with a CVSS 3.x base score of 5.4. Its EPSS exploit-prediction score of 91% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-79.

Key facts

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.

Frequently asked questions

What is CVE-2021-25921?
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.
How severe is CVE-2021-25921?
CVE-2021-25921 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2021-25921 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 91% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2021-25921?
CVE-2021-25921 affects Open-emr Openemr. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2021-25921?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2021-25921 published?
CVE-2021-25921 was published on 2021-03-22 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Open-emr Openemr

All CVEs affecting Open-emr Openemr →

Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities

Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →