Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22223

Client-Side code injection through Feature Flag name in GitLab CE/EE starting with 11.9 allows a specially crafted feature flag name to PUT requests on behalf of other users via clicking on a link

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22223
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:31 UTC · Revision 1

Source evidence

CVE-2021-22223

core-osv · Original source

Published 6 Jul 2021, 22:15 UTC

Client-Side code injection through Feature Flag name in GitLab CE/EE starting with 11.9 allows a specially crafted feature flag name to PUT requests on behalf of other users via clicking on a link

osv:CVE-2021-22223
Complete source record
{
  "id": "2bbd9f478a47368e602d22a4391f750c7a55616de7dc3bcc66e7a6b36eb23277",
  "url": "https://osv.dev/vulnerability/CVE-2021-22223",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22223",
    "summary": "Client-Side code injection through Feature Flag name in GitLab CE/EE starting with 11.9 allows a specially crafted feature flag name to PUT requests on behalf of other users via clicking on a link",
    "evidence": "osv:CVE-2021-22223",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-22223",
      "aliases": [
        "BIT-gitlab-2021-22223",
        "CVE-2021-22223"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a1a60e9f753f4e99f2b13b24028a6092a897cc06"
                },
                {
                  "fixed": "c97463266eba228cdd87a62b1289bf372c1b3866"
                },
                {
                  "introduced": "12a3ec8fb4a540576b2d47247bc86ea7e2c7565b"
                },
                {
                  "fixed": "088a665feba19e15cff694d69fc920197286678b"
                },
                {
                  "introduced": "0034acfc891b0cbc2ecc4aa4c5ca0d1f89e3c32f"
                },
                {
                  "fixed": "2504e045362c0930170ea2f9bfd0d1e4d143a817"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.9.0"
                      },
                      {
                        "fixed": "13.11.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.9.0"
                      },
                      {
                        "fixed": "13.11.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.12.0"
                      },
                      {
                        "fixed": "13.12.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.12.0"
                      },
                      {
                        "fixed": "13.12.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.0.0"
                      },
                      {
                        "fixed": "14.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.0.0"
                      },
                      {
                        "fixed": "14.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v13.12.5-ee",
            "v14.0.1-ee",
            "v14.0.0-ee",
            "v13.12.4-ee",
            "v13.12.3-ee",
            "v13.12.1-ee",
            "v13.12.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22223.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:48.457927184Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22223.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/293946",
        "https://hackerone.com/reports/1059557"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22223",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430009,
  "published_at": "2021-07-06T22:15:08.407+00:00"
}