HighGHSA-68jc-v27h-vhmwBIT-drupal-2020-13671CVE-2020-13671DRUPAL-CORE-2020-012
Drupal core Unrestricted Upload of File with Dangerous Type
Published 12 Oct 2021 · Updated 10 Dec 2025
Affected packages
drupal/coreComposer
- Affected
- >=9.0.0 <9.0.8
- Fixed in
- 9.0.8
Update to the fixed version for your release line, for example:
composer require drupal/core:^9.0.8drupal/coreComposer
- Affected
- >=8.9.0 <8.9.9
- Fixed in
- 8.9.9
Update to the fixed version for your release line, for example:
composer require drupal/core:^8.9.9drupal/coreComposer
- Affected
- >=8.0.0 <8.8.11
- Fixed in
- 8.8.11
Update to the fixed version for your release line, for example:
composer require drupal/core:^8.8.11drupal/coreComposer
- Affected
- >=7.0.0 <7.74
- Fixed in
- 7.74
Update to the fixed version for your release line, for example:
composer require drupal/core:^7.74drupal/drupalComposer
- Affected
- >=7.0.0 <7.74
- Fixed in
- 7.74
Update to the fixed version for your release line, for example:
composer require drupal/drupal:^7.74drupal/drupalComposer
- Affected
- >=8.0.0 <8.8.11
- Fixed in
- 8.8.11
Update to the fixed version for your release line, for example:
composer require drupal/drupal:^8.8.11drupal/drupalComposer
- Affected
- >=8.9.0 <8.9.9
- Fixed in
- 8.9.9
Update to the fixed version for your release line, for example:
composer require drupal/drupal:^8.9.9drupal/drupalComposer
- Affected
- >=9.0.0 <9.0.8
- Fixed in
- 9.0.8
Update to the fixed version for your release line, for example:
composer require drupal/drupal:^9.0.8Details
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.
Is GHSA-68jc-v27h-vhmw in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-13671
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13671.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13671.yaml
- Packagegithub.com/drupal/core
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT
- Linkwww.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671
- Linkwww.drupal.org/sa-core-2020-012
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.