CVE-2020-13671
HIGH 8.8CVSS 3.1known exploitedDrupal core Unrestricted Upload of File with Dangerous Type
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.
- Published
- 20 Nov 2020
- Last modified
- 19 Sep 2026
- Assigned by
- mlhess@drupal.org
- NVD status
- Analyzed
- Weakness
- CWE-434
- Also known as
- BIT-drupal-2020-13671DRUPAL-CORE-2020-012GHSA-68jc-v27h-vhmw
- Sources
- NVDJSONCISA KEVJSONOSV DRUPAL-CORE-2020-012JSONOSV GHSA-68jc-v27h-vhmwJSON
In CISA's Known Exploited Vulnerabilities catalog since 18 Jan 2022; US federal agencies must fix it by 18 Jul 2022.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 7.0, < 7.74 | 7.74 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.8.0, < 8.8.11 | 8.8.11 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.9.0, < 8.9.9 | 8.9.9 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.0.8 | 9.0.8 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| OSV | Packagist | 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 |
| OSV | Packagist | drupal/core | >= 9.0.0, < 9.0.8 | 9.0.8 |
| OSV | Packagist | drupal/core | >= 8.9.0, < 8.9.9 | 8.9.9 |
| OSV | Packagist | drupal/core | >= 8.0.0, < 8.8.11 | 8.8.11 |
| OSV | Packagist | drupal/core | >= 7.0.0, < 7.74 | 7.74 |
| OSV | Packagist | drupal/drupal | >= 7.0.0, < 7.74 | 7.74 |
| OSV | Packagist | drupal/drupal | >= 8.0.0, < 8.8.11 | 8.8.11 |
| OSV | Packagist | drupal/drupal | >= 8.9.0, < 8.9.9 | 8.9.9 |
| OSV | Packagist | drupal/drupal | >= 9.0.0, < 9.0.8 | 9.0.8 |
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/ · Mailing List, Release Notes, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/ · Mailing List, Release Notes, WEB
- https://www.drupal.org/sa-core-2020-012 · Vendor Advisory, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671 · US Government Resource, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-13671 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13671.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13671.yaml · WEB
- https://github.com/drupal/core · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 20 Nov 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Oct 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Nov 2020)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 18 Jan 2022)
- 18 Jan 2022 00:00 UTC · Listed as known exploited