Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22260

A stored Cross-Site Scripting vulnerability in the DataDog integration in all versions of GitLab CE/EE starting from 13.7 before 14.0.9, all versions starting from 14.1 before 14.1.4, and all versions starting from 14.2 before 14.2.2 allows an attacker to execute arbitrary JavaScript code on the victim's behalf

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22260
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:14 UTC · Revision 1

Source evidence

CVE-2021-22260

core-osv · Original source

Published 5 Nov 2021, 00:15 UTC

A stored Cross-Site Scripting vulnerability in the DataDog integration in all versions of GitLab CE/EE starting from 13.7 before 14.0.9, all versions starting from 14.1 before 14.1.4, and all versions starting from 14.2 before 14.2.2 allows an attacker to execute arbitrary JavaScript code on the victim's behalf

osv:CVE-2021-22260
Complete source record
{
  "id": "8f8b0011567ea4acb5bc59298ea2d3f4450c88e155051acad321c7d0f245317b",
  "url": "https://osv.dev/vulnerability/CVE-2021-22260",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22260",
    "summary": "A stored Cross-Site Scripting vulnerability in the DataDog integration in all versions of GitLab CE/EE starting from 13.7 before 14.0.9, all versions starting from 14.1 before 14.1.4, and all versions starting from 14.2 before 14.2.2 allows an attacker to execute arbitrary JavaScript code on the victim's behalf",
    "evidence": "osv:CVE-2021-22260",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-22260",
      "aliases": [
        "BIT-gitlab-2021-22260",
        "CVE-2021-22260"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "036576a25d67513637c1e2cba5859af47695188e"
                },
                {
                  "fixed": "e8824bdbcb70ab6210d3de565d52662d95c96978"
                },
                {
                  "introduced": "e4567ef4362f4ef24a09112564b31dfe9044ea12"
                },
                {
                  "fixed": "467d2cb7fe4aef65b5d0845e3aac3fb6b2b866a4"
                },
                {
                  "introduced": "38bbb40bb77dd3e0f0281c4363e2ef298e650c42"
                },
                {
                  "fixed": "406469ced21f30ac40efcd98dad975802db778e9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.7.0"
                      },
                      {
                        "fixed": "14.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.7.0"
                      },
                      {
                        "fixed": "14.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.1.0"
                      },
                      {
                        "fixed": "14.1.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.1.0"
                      },
                      {
                        "fixed": "14.1.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2.0"
                      },
                      {
                        "fixed": "14.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2.0"
                      },
                      {
                        "fixed": "14.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v14.1.3-ee",
            "v14.2.1-ee",
            "v14.2.0-ee",
            "v14.1.1-ee",
            "v14.1.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22260.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:35.743448707Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22260.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/336614",
        "https://hackerone.com/reports/1257383"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22260",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384430,
  "published_at": "2021-11-05T00:15:08.843+00:00"
}