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
- CWE-434: Unrestricted Upload of File with Dangerous Type
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Drupal core Un-restricted Upload of File |
|---|---|
| Vendor / product | Drupal / Drupal core |
| Date added | 2022-01-18 |
| Federal remediation due date | 2022-07-18 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-02-07 |
Timeline
- 2020-11-20Published by the CNA15:40 UTC
- 2021-10-12GitHub advisory published (GHSA-68jc-v27h-vhmw)326 days after publication
- 2022-01-18Added to the CISA KEV catalog424 days after publication
- 2025-02-07CISA SSVC decision recorded1540 days after publication
Exploit and advisory records
GitHub advisory GHSA-68jc-v27h-vhmw, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist drupal/core | from 7.0.0 before 7.74 | 7.74 |
| Packagist drupal/core | from 8.0.0 before 8.8.11 | 8.8.11 |
| Packagist drupal/core | from 8.9.0 before 8.9.9 | 8.9.9 |
| Packagist drupal/core | from 9.0.0 before 9.0.8 | 9.0.8 |
| Packagist drupal/drupal | from 7.0.0 before 7.74 | 7.74 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| drupal drupal | from 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.8 | 7.748.8.118.9.99.0.8 |
| fedoraproject fedora | 32no fix listed33no fix listed | not listednot listed |
References
- 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
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-13671'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-13671'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-13671'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-13671'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2020-13671'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).