# CVE-2026-21443: OpenEMR allows inconsistent escaping of translation function output

- Severity: Low 1.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U`
- 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.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-02-25T01:23:22.052Z
- Modified: 2026-06-17T10:18:40.873Z
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, 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 version 8.0.0, the `xl()` translation function returns unescaped strings. While wrapper functions exist for escaping in different contexts (`xlt()` for HTML, `xla()` for attributes, `xlj()` for JavaScript), there are places in the codebase where `xl()` output is used directly without escaping. If an attacker could insert malicious content into the translation database, these unescaped outputs could lead to XSS. Version 8.0.0 fixes the issue.

(As written by CVE List.)

## Affected

- openemr openemr: < 8.0.0
- open-emr openemr: before 8.0.0

## Every score

- GitHub_M: CVSS:4.0 1.2 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-3f9j-cqjj-7h46> (mitigation, vendor-advisory)
- <https://github.com/openemr/openemr/commit/b1e3fe8a9ed8bcaf17e0b73d7fad5434f9fe36da> (patch)

## Sources

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

---

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