Drupal Anonymous Open Redirect Vulnerability in drupal/core

drupal/core Updated 02 Oct 2025

Summary

15/05/2024
MODERATE
Yes i
Moderate
5.8

GHSA-gfvf-2f25-f34r: Drupal Anonymous Open Redirect. Affects drupal/core across 2 version ranges.

>= 8.0.0, < 8.5.8 >= 8.6.0, < 8.6.2

Fixed in 8.5.8 or 8.6.2, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Drupal is a popular open-source content management system (CMS) written in PHP. It is widely used for building websites and web applications. The drupal/core package is a fundamental component of Drupal, providing core functionality and features. However, a vulnerability has been discovered in Drupal core and contributed modules that allows malicious users to construct URLs with a manipulated "destination" query string parameter, leading to potential open redirects and exposing users to social engineering attacks.

Vulnerability Detail

The Drupal Anonymous Open Redirect vulnerability arises from the improper handling of the "destination" query string parameter in URLs. This parameter is commonly used in Drupal to redirect users to a new destination after completing an action on the current page. However, under certain circumstances, attackers can exploit this parameter to craft URLs that trick users into being redirected to a third-party website. This can potentially lead to social engineering attacks, where users are deceived into divulging sensitive information or performing unintended actions on the malicious site.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.0.0, < 8.5.8 8.5.8
    composer require drupal/core:8.5.8
  • >= 8.6.0, < 8.6.2 8.6.2
    composer require drupal/core:8.6.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround available for this vulnerability. It is crucial to apply the recommended fix by updating Drupal core and contributed modules to the patched versions.

Conclusion

The Drupal Anonymous Open Redirect vulnerability in drupal/core and contributed modules can potentially expose users to social engineering attacks. It is important to update Drupal core and modules to the patched versions (8.5.8 or 8.6.2) to mitigate this vulnerability. Regularly updating Drupal and following secure coding practices are essential for maintaining the security of your website. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for drupal/core →

Share this vulnerability

FAQ

Drupal is an open-source content management system (CMS) used for building websites and web applications. It provides a flexible and extensible platform for managing digital content.

The "destination" query string parameter is commonly used in Drupal to redirect users to a specific destination after completing an action. It helps in providing a seamless user experience by directing users to the appropriate page.

Attackers can exploit this vulnerability by manipulating the "destination" query string parameter in URLs. They can craft URLs that trick users into being redirected to a malicious third-party website, potentially leading to social engineering attacks.

The Drupal Anonymous Open Redirect vulnerability can expose users to social engineering attacks, where they may be tricked into divulging sensitive information or performing unintended actions on a malicious site. This can result in financial loss, identity theft, or other forms of exploitation.

To protect your Drupal website, it is crucial to regularly update Drupal core and contributed modules to the latest patched versions. This ensures that security vulnerabilities, including the Drupal Anonymous Open Redirect vulnerability, are addressed. Additionally, following secure coding practices and implementing proper access controls can further enhance the security of your Drupal installation.

Related vulnerabilities

Recent vulnerabilities recorded for drupal/core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.0.0, < 8.5.8 8.5.8
    composer require drupal/core:8.5.8
  • >= 8.6.0, < 8.6.2 8.6.2
    composer require drupal/core:8.6.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback