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.8
drupal/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.9
drupal/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.11
drupal/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.74
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.74
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.11
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.9
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.8

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.