Drupal core - SA-CORE-2020-012
CISA confirms exploitation of this vulnerability in real attacks. Prioritise checking whether your application is affected. CISA KEV · CC0 1.0
Update November 18: Documented longer list of dangerous file extensions
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/core | >= 8.0.0, < 8.8.11, >= 8.9.0, < 8.9.9, >= 9.0.0, < 9.0.8 | 8.8.11, 8.9.9, 9.0.8 |
| Composer package | drupal/drupal | >= 7.0.0, < 7.74, >= 8.0.0, < 8.8.11, >= 8.9.0, < 8.9.9, >= 9.0.0, < 9.0.8 | 7.74, 8.8.11, 8.9.9, 9.0.8 |
| Drupal (core) | drupal/core | >= 8.0.0, < 8.8.11, >= 8.9.0, < 8.9.9, >= 9.0.0, < 9.0.8 | 8.8.11, 8.9.9, 9.0.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-13671
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13671.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13671.yaml
- https://github.com/drupal/core
- 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://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671
- https://www.drupal.org/sa-core-2020-012
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H- Weakness (CWE)
CWE-434- Platform
- Composer, Drupal
- Package
drupal/core, drupal/drupal- Disclosed
- 18.11.2020
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-68jc-v27h-vhmw - CC BY 4.0
OSV / GitHub Advisory Database - DRUPAL-CORE-2020-012 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/core
All published vulnerabilities of this package (Drupal (core)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 165
- First → latest
- 02.2018 09.2026
- Without a fix
- 3
- Exploited in attacks
- 5
Severity breakdown
- Critical 17
- High 44
- Medium 72
- Low 6
- Unrated 26
Disclosures per year
- 2018: 4
- 2019: 14
- 2020: 12
- 2021: 11
- 2022: 61
- 2023: 6
- 2024: 36
- 2025: 8
- 2026: 13
-
Drupal core - SA-CORE-2020-012 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.