{"id":"CVE-2021-22241","aliases":["BIT-gitlab-2021-22241","EUVD-2021-9387","GHSA-98vw-hfg6-8fjf","UBUNTU-CVE-2021-22241"],"status":"published","title":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0. It was...","description":"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.","severity":{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00991,"percentile":0.62831,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-08-05T19:28:23Z","modified":"2026-10-30T10:30:19Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["14.0.7","14.1.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"14.0.0"},{"fixed":"14.0.7"},{"introduced":"14.1.0"},{"fixed":"14.1.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/336460","tags":["x_refsource_MISC","x_transferred","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/1256777","tags":["x_refsource_MISC","x_transferred","Permissions Required","Third Party Advisory","advisory","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22241.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22241","tags":["web"]},{"url":"https://github.com/advisories/GHSA-98vw-hfg6-8fjf"},{"url":"https://ubuntu.com/security/CVE-2021-22241","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22241","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-22241","description":"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.","status":"published","published":"2021-08-05T19:28:23Z","modified":"2024-08-03T18:37:18.367Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:32:57.701381Z"}],"euvd":[{"id":"EUVD-2021-9387","description":"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.","status":"published","published":"2021-08-05T19:28:23Z","modified":"2024-08-03T18:37:18Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T03:25:03.183524Z"}],"ghsa":[{"id":"GHSA-98vw-hfg6-8fjf","title":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0. It was...","description":"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.","status":"published","published":"2022-05-24T19:10:13Z","modified":"2023-01-30T05:01:14Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:22.009402Z"}],"nvd":[{"id":"CVE-2021-22241","description":"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.","status":"published","published":"2021-08-05T20:15:07.87Z","modified":"2026-06-17T03:36:52.177Z","cvss":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:56.562207Z"}],"osv":[{"id":"CVE-2021-22241","description":"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.","status":"published","published":"2021-08-05T20:15:07.87Z","modified":"2026-10-30T10:30:19.654463683Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"UBUNTU-CVE-2021-22241","description":"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.","status":"published","published":"2021-08-05T20:15:00Z","modified":"2025-10-24T04:50:07Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:26.29421Z"},{"id":"BIT-gitlab-2021-22241","description":"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.","status":"published","published":"2024-03-06T11:19:21.838Z","modified":"2026-09-10T16:01:32.675789098Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
