# CVE-2026-32119: OpenEMR has Stored DOM XSS via SearchHighlight text-node reconstruction on Custom Report page

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/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): 0.19%, higher than 8% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-19T19:41:47.881Z
- Modified: 2026-06-17T10:35:10.183Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.2, DOM-based stored XSS in the jQuery SearchHighlight plugin (`library/js/SearchHighlight.js`) allows an authenticated user with encounter form write access to inject arbitrary JavaScript that executes in another clinician's browser session when they use the search/find feature on the Custom Report page. The plugin reverses server-side HTML entity encoding by reading decoded text from DOM text nodes, concatenating it into a raw HTML string, and passing it to jQuery's `$()` constructor for HTML parsing. Version 8.0.0.2 fixes the issue.

(As written by CVE List.)

## Affected

- openemr openemr: < 8.0.0.2
- open-emr openemr: before 8.0.0.2

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-q283-5j7f-r6hp> (exploit, vendor-advisory)
- <https://github.com/openemr/openemr/commit/70a41122c6d75ebcd219ba2a2535e93a6c188151> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-32119 · Whole record: https://cve.day/CVE-2026-32119.json · Rebuilt by cve.day 2026-11-25T22:59:16.182Z
