CVE-2022-41947
published medium CVSS 3.1 · 5.4Cross-site Scripting with user-uploaded files in dhis2-core
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dhis2 | — | dhis2-core< 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dhis2 | dhis2-core | < 2.36.12.1 (affected)>= 2.37.0.0, < 2.37.8.1 (affected)>= 2.38.0.0, < 2.38.2.1 (affected)>= 2.39.0.0, < 2.39.0.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
3GitHub_M · cna
Cross-site Scripting with user-uploaded files in dhis2-core
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bf0dd11b2a34d3ea6f617f48ce4d803b1ab1c72f8f764ae693f968e76abbc54d
- Ingested
- 23 Sep 2026, 08:02:45 UTC
- Source record
- Official CVE record