MediumGHSA-8jj2-x2gc-ggm7BIT-drupal-2020-13666CVE-2020-13666DRUPAL-CORE-2020-007

Drupal Core Cross-site scripting vulnerability

Published 24 May 2022 · Updated 10 Dec 2025

Affected packages

drupal/coreComposer
Affected
>=8.8.0 <8.8.10
Fixed in
8.8.10
Update to the fixed version for your release line, for example:composer require drupal/core:^8.8.10
drupal/coreComposer
Affected
>=8.9.0 <8.9.6
Fixed in
8.9.6
Update to the fixed version for your release line, for example:composer require drupal/core:^8.9.6
drupal/coreComposer
Affected
>=9.0.0 <9.0.6
Fixed in
9.0.6
Update to the fixed version for your release line, for example:composer require drupal/core:^9.0.6
drupal/coreComposer
Affected
>=7.0.0 <7.73
Fixed in
7.73
Update to the fixed version for your release line, for example:composer require drupal/core:^7.73
Affected
>=7.0.0 <7.73
Fixed in
7.73
Update to the fixed version for your release line, for example:composer require drupal/drupal:^7.73
Affected
>=8.8.0 <8.8.10
Fixed in
8.8.10
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.8.10
Affected
>=8.9.0 <8.9.6
Fixed in
8.9.6
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.9.6
Affected
>=9.0.0 <9.0.6
Fixed in
9.0.6
Update to the fixed version for your release line, for example:composer require drupal/drupal:^9.0.6

Details

Cross-site scripting vulnerability in Drupal Core. Drupal AJAX API does not disable JSONP by default, allowing for an XSS attack. This issue affects: Drupal Drupal Core 7.x versions prior to 7.73; 8.8.x versions prior to 8.8.10; 8.9.x versions prior to 8.9.6; 9.0.x versions prior to 9.0.6.

Is GHSA-8jj2-x2gc-ggm7 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.