CVE-2022-41947

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

MEDIUM
5.4
CVSS Score
Published: December 8, 2022 at 10:14 PM UTC
Updated: June 17, 2026 at 05:04 AM UTC
1 product affected across 1 vendorDHIS2

Using dhis2-core by dhis2?

Get instant alerts when new vulnerabilities affect dhis2-core - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.36.12.1v < 2.37.8.1v < 2.38.2.1v < 2.39.0.12.35.0 ≤ v < 2.36.12.12.37.0 ≤ v < 2.37.8.12.38.0 ≤ v < 2.38.2.12.39.0
Affected range stops below 2.36.12.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.37.8.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.38.2.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.39.0.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.4MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card