{"id":"CVE-2026-21443","summary":"OpenEMR allows inconsistent escaping of translation function output","details":"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.","aliases":["GHSA-3f9j-cqjj-7h46"],"modified":"2026-08-12T03:51:26.285386726Z","published":"2026-02-25T01:23:22.052Z","database_specific":{"cwe_ids":["CWE-116"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21443.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21443.json"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-3f9j-cqjj-7h46"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21443"},{"type":"FIX","url":"https://github.com/openemr/openemr/commit/b1e3fe8a9ed8bcaf17e0b73d7fad5434f9fe36da"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"fixed":"b91b73600327acb46252b9fce7d04467eea126fd"},{"fixed":"b1e3fe8a9ed8bcaf17e0b73d7fad5434f9fe36da"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"8.0.0"}]}}],"versions":["v3_0_1","v3_0_0","v2_9_0","v2_8_3","v2_8_2","v2_8_1","v2_8_0","v2_7_3-rc1","v2_7_2","v2_7_2-rc2","v2_7_2-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-21443.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}