{"id":"CVE-2021-25922","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-25922","generatedAt":"2026-10-27T21:19:54.193Z","title":"In OpenEMR, versions 4.2.0 to 6.0.0 are vulnerable to Reflected Cross-Site-Scripting (XSS) due to user input not being validated properly.","description":"In OpenEMR, versions 4.2.0 to 6.0.0 are vulnerable to Reflected Cross-Site-Scripting (XSS) due to user input not being validated properly. An attacker could trick a user to click on a malicious url and execute malicious code.","published":"2021-03-22T20:15:18.000Z","lastModified":"2026-06-17T03:42:35.000Z","status":"Modified","sourceIdentifier":"vulnerabilitylab@mend.io","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79"],"affected":["open-emr/openemr"],"epss":{"score":0.0084,"percentile":0.57574,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.84%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/openemr/openemr/commit/0fadc3e592d84bc9dfe9e0403f8bd6e3c7d8427f","tags":["Patch","Third Party Advisory"],"source":"vulnerabilitylab@mend.io"},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25922","tags":["Third Party Advisory"],"source":"vulnerabilitylab@mend.io"},{"url":"https://github.com/openemr/openemr/commit/0fadc3e592d84bc9dfe9e0403f8bd6e3c7d8427f","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25922","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-25922","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}