{"id":"CVE-2021-22238","aliases":["BIT-gitlab-2021-22238","UBUNTU-CVE-2021-22238"],"summary":"An issue has been discovered in GitLab affecting all versions starting with 13.3.","published_at":"2021-08-20T17:39:54Z","modified_at":"2026-09-10T16:01:32.61055Z","products":[{"slug":"gitlab","name":"GitLab CE/EE","category":"gitops-cicd"}],"rating":{"severity":"medium","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":true,"malicious":false,"vendor_ratings":[{"source":"Ubuntu","rating":"medium"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.7178699970245361,"percentile":0.994350016117096,"date":"2026-11-19T00:00:00Z"},"priority":8.8,"details":"An issue has been discovered in GitLab affecting all versions starting with 13.3. GitLab was vulnerable to a stored XSS by using the design feature in issues.","affected_stack":[{"ecosystem":"CVE","package":"GitLab/GitLab","versions":[">=14.1, <14.1.2",">=14.0, <14.0.7",">13.3, <13.12.9"],"provider":"cvelistv5","source":"CVE-2021-22238","relation":"self"},{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.3.0"},{"fixed":"13.12.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.3.0"},{"fixed":"13.12.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.1.0"},{"fixed":"14.1.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.1.0"},{"fixed":"14.1.2"}]}],"fixed":["13.12.9","13.12.9","14.0.7","14.0.7","14.1.2","14.1.2"],"provider":"nvd","source":"CVE-2021-22238","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"14.0.0"},{"fixed":"14.0.7"},{"introduced":"14.1.0"},{"fixed":"14.1.2"}]}],"fixed":["14.0.7","14.1.2"],"provider":"osv","source":"BIT-gitlab-2021-22238","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"provider":"osv","source":"UBUNTU-CVE-2021-22238","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-22238","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-22238","license":"CC-BY-4.0","published_at":"2021-08-20T17:39:54Z","modified_at":"2024-08-03T18:37:18.293Z","summary":"An issue has been discovered in GitLab affecting all versions starting with 13.3.","details":"An issue has been discovered in GitLab affecting all versions starting with 13.3. GitLab was vulnerable to a stored XSS by using the design feature in issues.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","source":"CVE-2021-22238"}],"affected":[{"ecosystem":"CVE","package":"GitLab/GitLab","versions":[">=14.1, <14.1.2",">=14.0, <14.0.7",">13.3, <13.12.9"],"provider":"cvelistv5","source":"CVE-2021-22238","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://hackerone.com/reports/1212067"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/332420"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22238.json"}]},{"provider":"nvd","source_id":"CVE-2021-22238","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22238","severity":[],"affected":[{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.3.0"},{"fixed":"13.12.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.3.0"},{"fixed":"13.12.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.1.0"},{"fixed":"14.1.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"14.1.0"},{"fixed":"14.1.2"}]}],"fixed":["13.12.9","13.12.9","14.0.7","14.0.7","14.1.2","14.1.2"],"provider":"nvd","source":"CVE-2021-22238","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-gitlab-2021-22238","relation":"self","url":"https://osv.dev/vulnerability/BIT-gitlab-2021-22238","license":"Apache-2.0","published_at":"2024-03-06T11:19:25.588Z","modified_at":"2026-09-10T16:01:32.61055Z","details":"An issue has been discovered in GitLab affecting all versions starting with 13.3. GitLab was vulnerable to a stored XSS by using the design feature in issues.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","source":"BIT-gitlab-2021-22238"}],"affected":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"14.0.0"},{"fixed":"14.0.7"},{"introduced":"14.1.0"},{"fixed":"14.1.2"}]}],"fixed":["14.0.7","14.1.2"],"provider":"osv","source":"BIT-gitlab-2021-22238","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22238.json"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/332420"},{"type":"ADVISORY","url":"https://hackerone.com/reports/1212067"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22238"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2021-22238","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-22238","license":"CC-BY-SA-4.0","published_at":"2021-08-20T18:15:00Z","modified_at":"2025-10-24T04:50:07Z","details":"An issue has been discovered in GitLab affecting all versions starting with 13.3. GitLab was vulnerable to a stored XSS by using the design feature in issues.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"UBUNTU-CVE-2021-22238"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","source":"UBUNTU-CVE-2021-22238"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2021-22238"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"provider":"osv","source":"UBUNTU-CVE-2021-22238","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22238"},{"type":"REPORT","url":"https://hackerone.com/reports/1212067"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/332420"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22238.json"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-22238"}]}],"references":[{"type":"WEB","url":"https://hackerone.com/reports/1212067"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/332420"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22238.json"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22238"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22238"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-22238"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-22238","url":"https://www.cve.org/CVERecord?id=CVE-2021-22238","license":"CC-BY-4.0","modified_at":"2024-08-03T18:37:18.293Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-22238","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22238","relation":"self"},{"provider":"osv","source_id":"BIT-gitlab-2021-22238","url":"https://osv.dev/vulnerability/BIT-gitlab-2021-22238","license":"Apache-2.0","modified_at":"2026-09-10T16:01:32.61055Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2021-22238","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-22238","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:50:07Z","relation":"self"}]}
