CVE-2022-41947Dhis2 Dhis 2
Medium 5.4
Follow: this CVE · Dhis2 · Dhis2 Dhis 2 We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 36
- Auth required
- Yes
- Published
- Dec 8, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
DHIS 2 is an open source information system for data capture, management, validation, analytics and visualization. Through various features of DHIS2, an authenticated user may be able to upload a file which includes embedded javascript. The user could then potentially trick another authenticated user to open the malicious file in a browser which would trigger the javascript code, resulting in a cross-site scripting (XSS) attack. DHIS2 administrators should upgrade to the following hotfix releases: 2.36.12.1, 2.37.8.1, 2.38.2.1, 2.39.0.1. Users unable to upgrade may add the following simple CSP rule in your web proxy to the vulnerable endpoints: `script-src 'none'`. This workaround will prevent all javascript from running on those endpoints.
What to do
- Apply the vendor's security update for Dhis 2.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dhis2 | dhis_2 | ≥ 2.35.0 < 2.36.12.1 |
| dhis2 | dhis_2 | ≥ 2.37.0 < 2.37.8.1 |
| dhis2 | dhis_2 | ≥ 2.38.0 < 2.38.2.1 |
| dhis2 | dhis_2 | 2.39.0 |
Official sources
References
Links published by the sources. Open them with care.
- developer.mozilla.org Third Party Advisory
- github.com Mitigation Third Party Advisory