Loading...
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.

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 (1826 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: packagist (2).

PackageEcosystemAffectedFixed In
drupal/drupal
packagist
All versions7.74
drupal/drupal
packagist
9.0.0, 9.0.1, 9.0.2, 9.0.3 (+4 more)9.0.8
drupal/core
packagist
All versions7.74
drupal/drupal
packagist
8.9.0, 8.9.1, 8.9.2, 8.9.3 (+5 more)8.9.9
drupal/core
packagist
9.0.0, 9.0.1, 9.0.2, 9.0.3 (+4 more)9.0.8
drupal/core
packagist
8.9.0, 8.9.1, 8.9.2, 8.9.3 (+5 more)8.9.9
drupal/drupal
packagist
8.0.0, 8.0.1, 8.0.2, 8.0.3 (+134 more)8.8.11
drupal/core
packagist
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. 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

High exploitability or significant impact. Prioritize remediation within days.

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 if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies