MediumGHSA-3m36-mjwj-352cBIT-drupal-2020-13672CVE-2020-13672DRUPAL-CORE-2021-002

Drupal core Cross-site Scripting (XSS) vulnerability

Published 12 Feb 2022 · Updated 10 Dec 2025

Affected packages

drupal/coreComposer
Affected
>=7.0.0 <7.80
Fixed in
7.80
Update to the fixed version for your release line, for example:composer require drupal/core:^7.80
drupal/coreComposer
Affected
>=8.0.0 <8.9.14
Fixed in
8.9.14
Update to the fixed version for your release line, for example:composer require drupal/core:^8.9.14
drupal/coreComposer
Affected
>=9.0.0 <9.0.12
Fixed in
9.0.12
Update to the fixed version for your release line, for example:composer require drupal/core:^9.0.12
drupal/coreComposer
Affected
>=9.1.0 <9.1.7
Fixed in
9.1.7
Update to the fixed version for your release line, for example:composer require drupal/core:^9.1.7
Affected
>=7.0.0 <7.80
Fixed in
7.80
Update to the fixed version for your release line, for example:composer require drupal/drupal:^7.80
Affected
>=8.0.0 <8.9.14
Fixed in
8.9.14
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.9.14
Affected
>=9.0.0 <9.0.12
Fixed in
9.0.12
Update to the fixed version for your release line, for example:composer require drupal/drupal:^9.0.12
Affected
>=9.1.0 <9.1.7
Fixed in
9.1.7
Update to the fixed version for your release line, for example:composer require drupal/drupal:^9.1.7

Details

Cross-site Scripting (XSS) vulnerability in Drupal core's sanitization API fails to properly filter cross-site scripting under certain circumstances. This issue affects: Drupal Core 9.1.x versions prior to 9.1.7; 9.0.x versions prior to 9.0.12; 8.9.x versions prior to 8.9.14; 7.x versions prior to 7.80.

Is GHSA-3m36-mjwj-352c 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.