MediumGHSA-6gf6-24h2-66j4

Drupal core Open Redirect vulnerability

Published 15 May 2024 · Updated 15 May 2024

Affected package

drupal/coreComposer
Affected
>=7.0.0 <7.70
Fixed in
7.70
Update to the fixed version for your release line, for example:composer require drupal/core:^7.70

Details

Drupal 7 has an Open Redirect vulnerability. For example, a user could be tricked into visiting a specially crafted link which would redirect them to an arbitrary external URL.

The vulnerability is caused by insufficient validation of the destination query parameter in the drupal_goto() function.

Other versions of Drupal core are not vulnerable.

Is GHSA-6gf6-24h2-66j4 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.