CVE-2022-41947 - CVE House
Back to Database
Status published Medium CVE-2022-41947

Cross-site Scripting with user-uploaded files in dhis2-core

Vulnerability 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 Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-41947

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

dhis2-core
Vulnerable Versions:
< 2.36.12.1, >= 2.37.0.0, < 2.37.8.1, >= 2.38.0.0, < 2.38.2.1, >= 2.39.0.0, < 2.39.0.1

Timeline

Official Publish: December 8th, 2022
Last Modified: April 23rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weaknesses (CWE)