CVE-2021-25918
lowpriority · track · 19EPSS 0.006 · 50 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.5–4.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/openemr/openemr/commit/0fadc3e592d84bc9dfe9e0403f8bd6e3c7d8427fcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-25918cnnvd
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25918cnnvd
- https://github.com/openemr/openemr/commit/0fadc3e592d84bc9dfe9e0403f8bd6e3c7d8427fenisa_euvd
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25918enisa_euvd
- https://github.com/openemr/openemr/commit/0fadc3e592d84bc9dfe9e0403f8bd6e3c7d8427fPatchThird Party Advisorynvd
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25918Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan