{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ID": "CVE-2021-22242", "ASSIGNER": "cve@gitlab.com", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "GitLab", "product": { "product_data": [ { "product_name": "GitLab", "version": { "version_data": [ { "version_value": ">=11.4, <13.12.9" }, { "version_value": ">=14.0, <14.0.7" }, { "version_value": ">=14.1, <14.1.2" } ] } } ] } } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Improper neutralization of input during web page generation ('cross-site scripting') in GitLab" } ] } ] }, "references": { "reference_data": [ { "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/332528", "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/332528", "refsource": "MISC" }, { "name": "https://hackerone.com/reports/1212822", "url": "https://hackerone.com/reports/1212822", "refsource": "MISC" }, { "name": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.json", "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.json", "refsource": "CONFIRM" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "Insufficient input sanitization in Mermaid markdown in GitLab CE/EE version 11.4 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted markdown" } ] }, "impact": { "cvss": { "vectorString": "AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N", "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "CHANGED", "userInteraction": "REQUIRED", "version": "3.1", "baseScore": 8.7, "baseSeverity": "HIGH" } }, "credit": [ { "lang": "eng", "value": "Thanks @saleemrashid for reporting this vulnerability through our HackerOne bug bounty program" } ] }