CVE-2026-21443: OpenEMR - Stored XSS
- Cve: CVE-2026-21443
- Name: OpenEMR - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in users' browsers, leading to session hijacking or data theft.
- Remediation: Update to version 8.0.0 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: logged_in
- Requirements: Attacker needs to insert malicious content into the translation database
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00174
- Epss percentile: 0.06794
- Assignee: [email protected]
- Published at: 2026-02-25T02:16:21Z
- Age in days: 272
- Modified at: 2026-06-17T10:18:40Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-21443
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-116 | Improper Encoding or Escaping of Output |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/openemr/openemr/commit/b1e3fe8a9ed8bcaf17e0b73d7fad5434f9fe36da | nvd | Patch |
| https://github.com/openemr/openemr/security/advisories/GHSA-3f9j-cqjj-7h46 | nvd | Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| open-emr:openemr | < 8.0.0 | no | nvd | /v1/products/open-emr/openemr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openemr/openemr | commit, fix, security_advisory | yes | /v1/repositories/openemr/openemr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 2328
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports