CVE-2022-41947

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*
cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*
cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*
cpe:2.3:a:dhis2:dhis_2:2.39.0:*:*:*:*:*:*:*

History

12 Dec 2022, 18:36

Type Values Removed Values Added
First Time Dhis2
Dhis2 dhis 2
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
CPE cpe:2.3:a:dhis2:dhis_2:2.39.0:*:*:*:*:*:*:*
cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*
References (MISC) https://github.com/dhis2/dhis2-core/security/advisories/GHSA-763w-rm78-6xcg - (MISC) https://github.com/dhis2/dhis2-core/security/advisories/GHSA-763w-rm78-6xcg - Mitigation, Third Party Advisory
References (MISC) https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP - (MISC) https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP - Third Party Advisory

08 Dec 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-12-08 23:15

Updated : 2023-12-10 14:48


NVD link : CVE-2022-41947

Mitre link : CVE-2022-41947

CVE.ORG link : CVE-2022-41947


JSON object : View

Products Affected

dhis2

  • dhis_2
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')