CVE-2021-25918

Source
https://cve.org/CVERecord?id=CVE-2021-25918
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25918.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-25918
Published
2021-03-22T20:15:17.753Z
Modified
2026-07-08T05:56:55.331119199Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

In OpenEMR, versions 5.0.2 to 6.0.0 are vulnerable to Stored Cross-Site-Scripting (XSS) due to user input not being validated properly and rendered in the TOTP Authentication method page. A highly privileged attacker could inject arbitrary code into input fields when creating a new user.

References

Affected packages

Git / github.com/openemr/openemr

Affected ranges

Type
GIT
Repo
https://github.com/openemr/openemr
Events
Database specific
{
    "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "5.0.2"
        },
        {
            "last_affected": "6.0.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Database specific

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