# CVE-2024-0875: Stored XSS in openemr/openemr

- Severity: High 8.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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): 0.39%, higher than 35% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-15T10:57:25.334Z
- Modified: 2026-06-17T06:54:29.007Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

A stored cross-site scripting (XSS) vulnerability exists in openemr/openemr version 7.0.1. An attacker can inject malicious payloads into the 'inputBody' field in the Secure Messaging feature, which can then be sent to other users. When the recipient views the malicious message, the payload is executed, potentially compromising their account. This issue is fixed in version 7.0.2.1.

(As written by CVE List.)

## Affected

- openemr openemr/openemr: from unspecified before 7.0.2.1
- openemr openemr: before 7.0.2.1
- open-emr openemr: 7.0.1

## Every score

- @huntr_ai: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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`

## References

- <https://huntr.com/bounties/16cba0fc-748d-4ea8-9573-1f6fbe9a27c9> (exploit, third-party-advisory)
- <https://github.com/openemr/openemr/commit/d141d2ca06fb2171a202c7302dd5d5af8539f255> (patch)

## Sources

- CVE List: [CVE-2024-0875](https://www.cve.org/CVERecord?id=CVE-2024-0875), CVE Terms of Use, modified 2024-11-15
- NVD: [CVE-2024-0875](https://nvd.nist.gov/vuln/detail/CVE-2024-0875), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-0875 · Whole record: https://cve.day/CVE-2024-0875.json · Rebuilt by cve.day 2026-11-25T22:58:48.292Z
