Description
Drupal core 7.x versions before 7.57 has an external link injection vulnerability when the language switcher block is used. A similar vulnerability exists in various custom and contributed modules. This vulnerability could allow an attacker to trick users into unwillingly navigating to an external site.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Drupal.org | Drupal Core | 7.x versions before 7.57 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | drupal7 | 7.52-2+deb9u2 | DSA-4123-1 |
| Debian 8 | drupal7 | 7.32-1+deb8u10 | DSA-4123-1 |
| Debian 7 | drupal7 | 7.14-2+deb7u17 | DLA-1295-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | drupal7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | drupal7 | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | drupal/core | >= 7.0, < 7.57 | 7.57 | GHSA-wm86-w3cf-h6vm |
| Packagist | drupal/drupal | >= 7.0, < 7.57 | 7.57 | GHSA-wm86-w3cf-h6vm |
Advisories 2
- DSA-4123-1 drupal7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1295-1 drupal7 - security update Debian Security (DSA / DLA) · Mar 9, 2026