Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-13671

Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.

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

Source evidence

CVE-2020-13671

core-osv · Original source

Published 20 Nov 2020, 16:15 UTC

Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.

osv:CVE-2020-13671
Complete source record
{
  "id": "3de1a7f92b475f09630a05af7edd4d02c3c819ff27c3cd6e79ac616eb4fb4ce1",
  "url": "https://osv.dev/vulnerability/CVE-2020-13671",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-13671",
    "summary": "Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.",
    "evidence": "osv:CVE-2020-13671",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-13671",
      "aliases": [
        "BIT-drupal-2020-13671",
        "CVE-2020-13671",
        "DRUPAL-CORE-2020-012",
        "GHSA-68jc-v27h-vhmw"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/drupal/drupal",
              "type": "GIT",
              "events": [
                {
                  "introduced": "497914920385b7016ac9c9367e0198530787adf2"
                },
                {
                  "fixed": "f941729699e7f49901b30f3aaa71449e44a984c0"
                },
                {
                  "introduced": "f2b59e3ae8097ea01d15c708f1267b73794399c0"
                },
                {
                  "fixed": "4ad29cfc1d1cc51fab880312efa53ca9d0084d60"
                },
                {
                  "introduced": "a412ca41cfc0d954fe3cb2dd982dc6ca049b1c70"
                },
                {
                  "fixed": "afd99c2de06fa374c3c0434cb9efe1e2d5a6dcb3"
                },
                {
                  "introduced": "d62812dc17ce593beb2ccd4cdbee1a76c95e3fd7"
                },
                {
                  "fixed": "edaba481ce445487f669deff5cc012af422dc874"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0"
                      },
                      {
                        "fixed": "7.74"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.8.0"
                      },
                      {
                        "fixed": "8.8.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.9.0"
                      },
                      {
                        "fixed": "8.9.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.0.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.73",
            "8.8.10",
            "8.9.8",
            "9.0.7",
            "8.8.9",
            "8.9.5",
            "9.0.5",
            "7.72",
            "8.9.4",
            "8.9.3",
            "9.0.3",
            "8.9.2",
            "9.0.2",
            "7.71",
            "8.8.7",
            "8.9.0",
            "9.0.0",
            "8.8.5",
            "8.8.3",
            "8.8.2",
            "8.8.0",
            "7.68",
            "7.64",
            "7.61",
            "7.56",
            "7.55",
            "7.54",
            "7.51",
            "7.50",
            "7.43",
            "7.42",
            "7.40",
            "7.37",
            "7.36",
            "7.33",
            "7.30",
            "7.28",
            "7.25",
            "7.23",
            "7.22",
            "7.17",
            "7.15",
            "7.14",
            "7.12",
            "7.10",
            "7.9",
            "7.8",
            "7.7",
            "7.6",
            "7.4",
            "7.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13671.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:20.854490397Z",
      "provider": "osv",
      "references": [
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/",
        "https://www.drupal.org/sa-core-2020-012"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  },
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-13671",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430358,
  "published_at": "2020-11-20T16:15:15.433+00:00"
}