CVE-2021-25921

Source
https://cve.org/CVERecord?id=CVE-2021-25921
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25921.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-25921
Published
2021-03-22T20:15:17Z
Modified
2026-10-20T10:54:33Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/openemr/openemr

Affected ranges

Type
GIT
Repo
https://github.com/openemr/openemr
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "2.7.3"
                },
                {
                    "last_affected": "6.0.0"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "0fadc3e592d84bc9dfe9e0403f8bd6e3c7d8427f"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Other
v2_7_2
v2_7_2-rc1
v2_7_2-rc2
v2_7_3-rc1
v2_8_0
v2_8_1
v2_8_2
v2_8_3
v2_9_0
v3_0_0
v3_0_1
v6_0_0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25921.json"