Drupal cross site scripting vulnerability
Published 14 May 2022 · Updated 23 Apr 2024
Affected packages
- Affected
- >=7.0 <7.57
- Fixed in
- 7.57
composer require drupal/core:^7.57- Affected
- >=8.0 <8.4.0
- Fixed in
- 8.4.0
composer require drupal/core:^8.4.0- Affected
- >=8.0 <8.4.0
- Fixed in
- 8.4.0
composer require drupal/drupal:^8.4.0- Affected
- >=7.0 <7.57
- Fixed in
- 7.57
composer require drupal/drupal:^7.57Details
A jQuery cross site scripting vulnerability is present when making Ajax requests to untrusted domains. This vulnerability is mitigated by the fact that it requires contributed or custom modules in order to exploit. For Drupal 8, this vulnerability was already fixed in Drupal 8.4.0 in the Drupal core upgrade to jQuery 3. For Drupal 7, it is fixed in the current release (Drupal 7.57) for jQuery 1.4.4 (the version that ships with Drupal 7 core) as well as for other newer versions of jQuery that might be used on the site, for example using the jQuery Update module.
Is GHSA-5vpr-v24w-mmjj 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-2017-6929
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6929.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6929.yaml
- Packagegithub.com/drupal/core
- Linklists.debian.org/debian-lts-announce/2018/02/msg00030.html
- Linkwww.debian.org/security/2018/dsa-4123
- Linkwww.drupal.org/sa-core-2018-001
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.