Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39873

In all versions of GitLab CE/EE, there exists a content spoofing vulnerability which may be leveraged by attackers to trick users into visiting a malicious website by spoofing the content in an error response.

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

Source evidence

CVE-2021-39873

core-osv · Original source

Published 4 Oct 2021, 17:15 UTC

In all versions of GitLab CE/EE, there exists a content spoofing vulnerability which may be leveraged by attackers to trick users into visiting a malicious website by spoofing the content in an error response.

osv:CVE-2021-39873
Complete source record
{
  "id": "4bbf48a367807b257995beb2d4285169b5ce89f81a39ab0fb47f15812bb01b68",
  "url": "https://osv.dev/vulnerability/CVE-2021-39873",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39873",
    "summary": "In all versions of GitLab CE/EE, there exists a content spoofing vulnerability which may be leveraged by attackers to trick users into visiting a malicious website by spoofing the content in an error response.",
    "evidence": "osv:CVE-2021-39873",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-39873",
      "aliases": [
        "BIT-gitlab-2021-39873",
        "CVE-2021-39873"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9cd657e5179e339171d27e4573b8f5711db1d824"
                },
                {
                  "introduced": "38bbb40bb77dd3e0f0281c4363e2ef298e650c42"
                },
                {
                  "fixed": "72c1da0383a35604f4b2d73a7ed8e6a2c4ee64b1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "fixed": "14.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "fixed": "14.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2.0"
                      },
                      {
                        "fixed": "14.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2.0"
                      },
                      {
                        "fixed": "14.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v14.1.6-ee",
            "v14.2.4-ee",
            "v14.1.5-ee",
            "v14.2.3-ee",
            "v14.1.3-ee",
            "v14.2.1-ee",
            "v14.2.0-ee",
            "v14.1.1-ee",
            "v14.1.0-ee",
            "v14.1.0-rc43-ee",
            "v14.1.0-rc42-ee",
            "11-10-0cfa69752d8-74ffd66ae-ee",
            "11-10-0cfa69752d8-0d9531c80-ee",
            "11-10-119f9509d50-6d7537235-ee",
            "v7.3.0-ee",
            "v7.3.0.rc1-ee",
            "v7.2.0.rc5-ee",
            "v7.2.0.rc4-ee",
            "v7.2.0.rc3-ee",
            "v7.2.0.rc2-ee",
            "v7.2.0.rc1-ee",
            "v7.1.0-ee",
            "v7.1.0.rc1-ee",
            "v7.0.0-ee",
            "v6.8.0-ee",
            "v6.7.0-ee",
            "v6.7.0.rc1-ee",
            "v6.6.0-ee",
            "v6.5.0-ee",
            "v6.4.0-ee",
            "v6.3.1-ee",
            "v6.3.0-ee",
            "v6.1.0-ee",
            "v6.0.0-ee",
            "v6.0.0-ee.rc1",
            "v6.0.0-ee.beta",
            "v5.2.0",
            "v5.1.0",
            "v5.0.0",
            "v4.0.0",
            "v4.0.0rc2",
            "v4.0.0rc1",
            "v3.1.0",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.9.1",
            "v2.9.0",
            "v2.8.2",
            "v2.8.1",
            "v2.8.0",
            "v2.8.0pre",
            "v2.7.0",
            "v2.7.0pre",
            "v2.6.3",
            "v2.6.2",
            "v2.6.1",
            "v2.6.0",
            "v2.6.0pre",
            "v2.5.0",
            "v2.4.1",
            "v2.4.0",
            "v2.4.0pre",
            "v2.3.1",
            "v2.3.0",
            "v2.3.0pre",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.2.0pre"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39873.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:28.628452854Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39873.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/27241",
        "https://hackerone.com/reports/504961"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:gitlab:gitlab:4.3.0:*:*:*:community:*:*:*",
              "cpe:2.3:a:gitlab:gitlab:4.3.0:*:*:*:enterprise:*:*:*"
            ],
            "vendor_product": "gitlab:gitlab",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.3.0"
                  },
                  {
                    "last_affected": "4.3.0"
                  },
                  {
                    "introduced": "4.3.0"
                  },
                  {
                    "last_affected": "4.3.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-39873",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429157,
  "published_at": "2021-10-04T17:15:07.967+00:00"
}