CVE-2022-41947
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
08/12/2022
Last modified:
12/12/2022
Description
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.
Impact
Base Score 3.x
5.40
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:* | 2.35.0 (including) | 2.36.12.1 (excluding) |
| cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:* | 2.37.0 (including) | 2.37.8.1 (excluding) |
| cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:* | 2.38.0 (including) | 2.38.2.1 (excluding) |
| cpe:2.3:a:dhis2:dhis_2:2.39.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



