Back to CVE records
Medium 5.4HealthcarePublished Mar 22, 2021

CVE-2021-25921In 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.

Updated under an hour ago ()

Does this affect you?

It affects open-emr openemr. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 91.10%, higher than 100% of scored CVEs. That is high: schedule it on your emergency patch path.

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.

CVSS
5.4 MEDIUM (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
91.10% (percentile 100)
Assigned by
Mend
NVD analysis
Modified
Record last updated
Apr 30, 2025
First seen by InfoSec Signals
Oct 12, 2026

Affected products

Affected products
open-emr openemr
open-emr:openemr
from 2.7.3 through 6.0.0
NVD

References

  • x-refsource-misc, patch, third-party-advisory
  • x-refsource-misc, third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.