Skip to main content

CVE-2020-13671 — Vulnerability in drupal/drupal — CVE Details

HIGH
Actively Exploited

Drupal core Unrestricted Upload of File with Dangerous Type

Published October 12, 2021Updated December 10, 2025Source: OSV

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Does your project use an affected drupal/drupal version?

Paste your composer.lock to check it for CVE-2020-13671 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

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.

Advisory Timeline

  • First published October 12, 2021 (1871 days ago).
  • Last revised December 10, 2025 — 1520 days after initial publication.
  • Added to CISA's Known Exploited Vulnerabilities catalog 97 days after publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update drupal/drupal to 7.74 or later
composer require "drupal/drupal:^7.74"
Composer
Update drupal/drupal to 9.0.8 or later
composer require "drupal/drupal:^9.0.8"
Composer
Update drupal/core to 7.74 or later
composer require "drupal/core:^7.74"
Composer
Update drupal/drupal to 8.9.9 or later
composer require "drupal/drupal:^8.9.9"
Composer
Update drupal/core to 9.0.8 or later
composer require "drupal/core:^9.0.8"
Composer
Update drupal/core to 8.9.9 or later
composer require "drupal/core:^8.9.9"
Composer
Update drupal/drupal to 8.8.11 or later
composer require "drupal/drupal:^8.8.11"
Composer
Update drupal/core to 8.8.11 or later
composer require "drupal/core:^8.8.11"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: Packagist (2).

PackageFixed In
drupal/drupal Packagist · Affected: All versions7.74
drupal/drupal Packagist · Affected: 9.0.0, 9.0.1, 9.0.2, 9.0.3 (+4 more)9.0.8
drupal/core Packagist · Affected: All versions7.74
drupal/drupal Packagist · Affected: 8.9.0, 8.9.1, 8.9.2, 8.9.3 (+5 more)8.9.9
drupal/core Packagist · Affected: 9.0.0, 9.0.1, 9.0.2, 9.0.3 (+4 more)9.0.8
drupal/core Packagist · Affected: 8.9.0, 8.9.1, 8.9.2, 8.9.3 (+5 more)8.9.9
drupal/drupal Packagist · Affected: 8.0.0, 8.0.1, 8.0.2, 8.0.3 (+134 more)8.8.11
drupal/core Packagist · Affected: 8.0.0, 8.0.1, 8.0.2, 8.0.3 (+134 more)8.8.11

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-434
    Unrestricted File UploadMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H

Frequently Asked Questions

What is CVE-2020-13671?
Drupal core Unrestricted Upload of File with Dangerous Type. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2020-13671?
CVE-2020-13671 affects drupal/drupal and drupal/core. It has a 32.6% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-13671 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
32.57%
EPSS percentile: 98.7

This places it in the top 5% of EPSS-scored vulnerabilities — 98.7% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Added to KEV catalog: January 18, 2022

Remediation deadline: July 18, 2022

Also Known As

GHSA-68jc-v27h-vhmw
BIT-drupal-2020-13671
DRUPAL-CORE-2020-012

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock