{"id":"CVE-2021-22241","aliases":["CVE-2021-22241","BIT-GITLAB-2021-22241"],"related":[],"kind":"vulnerability","state":"published","title":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0.","summary":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0. It was possible to exploit a stored cross-site-scripting via a specifically crafted default branch name.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0. It was possible to exploit a stored cross-site-scripting via a specifically crafted default branch name.","source":"cvelist"},{"lang":"es","text":"Se ha detectado un problema en GitLab CE/EE afectando a todas las versiones a partir de 14.0. Era posible explotar una vulnerabilidad de tipo cross-site-scripting almacenado por medio de un nombre de rama predeterminado específicamente diseñado","source":"nvd"}],"published":"2021-08-05T19:28:23.000Z","modified":"2026-09-10T16:01:32.675Z","severity":{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">=14.1, <14.1.2","status":"affected"},{"version":">=14.0, <14.0.7","status":"affected"}],"vendor":"GitLab","product":"GitLab","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"14.0.0","fixed":"14.0.7"},{"status":"affected","introduced":"14.0.0","fixed":"14.0.7"},{"status":"affected","introduced":"14.1.0","fixed":"14.1.2"},{"status":"affected","introduced":"14.1.0","fixed":"14.1.2"}],"vendor":"gitlab","product":"gitlab","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"14.0.0","status":"affected","fixed":"14.0.7"},{"type":"semver","introduced":"14.1.0","status":"affected","fixed":"14.1.2"}],"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","source":"bitnami"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/336460","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://hackerone.com/reports/1256777","tags":["advisory","permissions-required","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22241.json","tags":["advisory","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22241","tags":["web"],"sources":["bitnami"]}],"credits":["Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program"],"assigner":"GitLab","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-22241","url":"https://www.cve.org/CVERecord?id=CVE-2021-22241","licence":"CVE Terms of Use","modified":"2024-08-03T18:37:18.367Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-22241","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22241","licence":"Public domain","modified":"2026-06-17T03:36:52.177Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITLAB-2021-22241","url":"https://osv.dev/vulnerability/BIT-GITLAB-2021-22241","licence":"Apache-2.0","modified":"2026-09-10T16:01:32.675Z"}],"updatedAt":"2026-11-25T22:58:03.010Z","epss":{"score":0.00991,"percentile":0.63511,"date":"2026-12-01T12:00:22.000Z"}}