LowDRUPAL-CORE-2021-002BIT-drupal-2020-13672CVE-2020-13672GHSA-3m36-mjwj-352c

DRUPAL-CORE-2021-002 in drupal/core

Published 21 Apr 2021 · Updated 19 Sept 2026

Affected package

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

Details

Drupal core's sanitization API fails to properly filter cross-site scripting under certain circumstances.

Not all sites and users are affected, but configuration changes to prevent the exploit might be impractical and will vary between sites. Therefore, we recommend all sites update to this release as soon as possible.

Is DRUPAL-CORE-2021-002 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.