# CVE-2021-25919: 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.

- Severity: Medium 4.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 66.1%, higher than 99% of CVEs (2026-11-30)
- Published: 2021-03-22T19:22:49.000Z
- Modified: 2026-06-17T03:42:34.917Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Mend

## Description

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. A highly privileged attacker could inject arbitrary code into input fields when creating a new user.

(As written by CVE List.)

## Affected

- openemr: 5.0.2, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.2.4, 6.0.0
- open-emr openemr: from 5.0.2 up to 6.0.0

## Every score

- CISA-ADP: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25919> (third-party-advisory)
- <https://github.com/openemr/openemr/commit/0fadc3e592d84bc9dfe9e0403f8bd6e3c7d8427f> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-25919](https://www.cve.org/CVERecord?id=CVE-2021-25919), CVE Terms of Use, modified 2025-04-30
- NVD: [CVE-2021-25919](https://nvd.nist.gov/vuln/detail/CVE-2021-25919), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25919 · Whole record: https://cve.day/CVE-2021-25919.json · Rebuilt by cve.day 2026-11-25T22:58:00.364Z
