CVE-2020-13671

Description

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.

Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
32.568%
chance of exploitation in the next 30 days
higher than 98.4% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-01-18
Public exploit code
None public
Attackers are using this, but no public exploit code was found in these sources.
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameDrupal core Un-restricted Upload of File
Vendor / productDrupal / Drupal core
Date added2022-01-18
Federal remediation due date2022-07-18
Required actionApply updates per vendor instructions.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impacttotal
Scored2025-02-07

Timeline

  1. 2020-11-20Published by the CNA15:40 UTC
  2. 2021-10-12GitHub advisory published (GHSA-68jc-v27h-vhmw)326 days after publication
  3. 2022-01-18Added to the CISA KEV catalog424 days after publication
  4. 2025-02-07CISA SSVC decision recorded1540 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-68jc-v27h-vhmw, affected packages:

PackageVulnerable versionsFixed in
Packagist drupal/corefrom 7.0.0 before 7.747.74
Packagist drupal/corefrom 8.0.0 before 8.8.118.8.11
Packagist drupal/corefrom 8.9.0 before 8.9.98.9.9
Packagist drupal/corefrom 9.0.0 before 9.0.89.0.8
Packagist drupal/drupalfrom 7.0.0 before 7.747.74

3 more affected packages in the advisory.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
drupal drupalfrom 7.0 before 7.74fixed in 7.74from 8.8.0 before 8.8.11fixed in 8.8.11from 8.9.0 before 8.9.9fixed in 8.9.9from 9.0.0 before 9.0.8fixed in 9.0.87.748.8.118.9.99.0.8
fedoraproject fedora32no fix listed33no fix listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources