{"containers":{"cna":{"affected":[{"product":"GitLab","vendor":"GitLab","versions":[{"status":"affected","version":">=11.4, <13.12.9"},{"status":"affected","version":">=14.0, <14.0.7"},{"status":"affected","version":">=14.1, <14.1.2"}]}],"credits":[{"lang":"en","value":"Thanks @saleemrashid for reporting this vulnerability through our HackerOne bug bounty program"}],"descriptions":[{"lang":"en","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"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Improper neutralization of input during web page generation ('cross-site scripting') in GitLab","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2021-08-25T18:38:24.000Z","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","shortName":"GitLab"},"references":[{"tags":["x_refsource_MISC"],"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/332528"},{"tags":["x_refsource_MISC"],"url":"https://hackerone.com/reports/1212822"},{"tags":["x_refsource_CONFIRM"],"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.json"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@gitlab.com","ID":"CVE-2021-22242","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"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"}]}}]},"vendor_name":"GitLab"}]}},"credit":[{"lang":"eng","value":"Thanks @saleemrashid for reporting this vulnerability through our HackerOne bug bounty program"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","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":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"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","refsource":"MISC","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/332528"},{"name":"https://hackerone.com/reports/1212822","refsource":"MISC","url":"https://hackerone.com/reports/1212822"},{"name":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.json","refsource":"CONFIRM","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.json"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T18:37:18.232Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/332528"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://hackerone.com/reports/1212822"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.json"}]}]},"cveMetadata":{"assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","assignerShortName":"GitLab","cveId":"CVE-2021-22242","datePublished":"2021-08-25T18:38:24.000Z","dateReserved":"2021-01-05T00:00:00.000Z","dateUpdated":"2024-08-03T18:37:18.232Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}