{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-4201", "ASSIGNER": "cve@gitlab.com", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "A cross-site scripting issue has been discovered in GitLab affecting all versions starting from 5.1 before 16.10.7, all versions starting from 16.11 before 16.111.4, all versions starting from 17.0 before 17.0.2. When viewing an XML file in a repository in raw mode, it can be made to render as HTML if viewed under specific circumstances." } ] }, "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": "GitLab", "product": { "product_data": [ { "product_name": "GitLab", "version": { "version_data": [ { "version_affected": "<", "version_name": "5.1", "version_value": "16.10.7" }, { "version_affected": "<", "version_name": "16.11", "version_value": "16.11.4" }, { "version_affected": "<", "version_name": "17.0", "version_value": "17.0.2" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/458229", "refsource": "MISC", "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/458229" }, { "url": "https://hackerone.com/reports/2473886", "refsource": "MISC", "name": "https://hackerone.com/reports/2473886" }, { "url": "https://about.gitlab.com/releases/2024/06/12/patch-release-gitlab-17-0-2-released/#xss-and-content-injection-when-viewing-raw-xhtml-files-on-ios-devices", "refsource": "MISC", "name": "https://about.gitlab.com/releases/2024/06/12/patch-release-gitlab-17-0-2-released/#xss-and-content-injection-when-viewing-raw-xhtml-files-on-ios-devices" } ] }, "solution": [ { "lang": "en", "value": "Upgrade to versions 16.10.7, 16.11.4, 17.0.2 or above." } ], "credits": [ { "lang": "en", "value": "Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program" } ], "impact": { "cvss": [ { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 4.4, "baseSeverity": "MEDIUM" } ] } }