{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2022-41947", "ASSIGNER": "security-advisories@github.com", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "cweId": "CWE-79" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "dhis2", "product": { "product_data": [ { "product_name": "dhis2-core", "version": { "version_data": [ { "version_value": "< 2.36.12.1", "version_affected": "=" }, { "version_value": ">= 2.37.0.0, < 2.37.8.1", "version_affected": "=" }, { "version_value": ">= 2.38.0.0, < 2.38.2.1", "version_affected": "=" }, { "version_value": ">= 2.39.0.0, < 2.39.0.1", "version_affected": "=" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://github.com/dhis2/dhis2-core/security/advisories/GHSA-763w-rm78-6xcg", "refsource": "MISC", "name": "https://github.com/dhis2/dhis2-core/security/advisories/GHSA-763w-rm78-6xcg" }, { "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP", "refsource": "MISC", "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP" } ] }, "source": { "advisory": "GHSA-763w-rm78-6xcg", "discovery": "UNKNOWN" }, "impact": { "cvss": [ { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.4, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "LOW", "scope": "CHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "version": "3.1" } ] } }