Drupal External URL Injection through URL Aliases Leading to Open Redirect

drupal/drupal Updated 02 Oct 2025

Summary

15/05/2024
MODERATE
Yes i
Moderate
Not published

GHSA-r67r-42wx-c8r7: Drupal External URL injection through URL aliases leading to Open Redirect. Affects drupal/drupal across 3 version ranges.

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

Fixed in 7.60, 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Drupal is a popular content management system (CMS) that allows users to create and manage websites. It provides various modules, including the path module, which enables users with the 'administer paths' permission to create user-friendly URLs for content. This feature allows for the creation of pretty URLs that can be easily remembered and shared. However, a vulnerability in the path module allows users to enter a specific path that triggers an open redirect to a malicious URL.

Vulnerability Detail

The vulnerability in Drupal's path module allows users with the 'administer paths' permission to inject external URLs through URL aliases. This can lead to an open redirect vulnerability, where an attacker can craft a URL that redirects users to a malicious website. This can be used for phishing attacks, spreading malware, or other malicious activities. The vulnerability affects Drupal versions 7.0 to 7.60, 8.0.0 to 8.5.8, and 8.6.0 to 8.6.2.

How To Fix

Fixed versions by release line

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

  • >= 7.0, < 7.60 7.60
    composer require drupal/drupal:7.60
  • >= 8.0.0, < 8.5.8 8.5.8
    composer require drupal/drupal:8.5.8
  • >= 8.6.0, < 8.6.2 8.6.2
    composer require drupal/drupal: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 known workaround for this vulnerability. It is recommended to apply the necessary updates as soon as possible.

Conclusion

The Drupal path module vulnerability allows users with the 'administer paths' permission to inject external URLs through URL aliases, leading to an open redirect vulnerability. To mitigate this issue, it is crucial to update Drupal to the latest patched version. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for drupal/drupal →

Share this vulnerability

FAQ

This vulnerability allows an attacker to redirect users to a malicious website, potentially leading to phishing attacks, malware infections, or other malicious activities.

Users of Drupal versions 7.0 to 7.60, 8.0.0 to 8.5.8, and 8.6.0 to 8.6.2 are affected by this vulnerability if they have the 'administer paths' permission.

You can use the Vulert Playground at Vulert Scanner to check if your Drupal installation is affected by this vulnerability. Simply provide your composer.lock file and Vulert will analyze it for any open-source vulnerabilities, including this one.

There are no known public exploits for this vulnerability at the time of writing. However, it is important to apply the necessary updates to protect against potential attacks.

You can find more information about this vulnerability, including the technical details and the fixed versions, in the advisory on GitHub: [link to advisory]

Related vulnerabilities

Recent vulnerabilities recorded for drupal/drupal.

How To Fix

Fixed versions by release line

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

  • >= 7.0, < 7.60 7.60
    composer require drupal/drupal:7.60
  • >= 8.0.0, < 8.5.8 8.5.8
    composer require drupal/drupal:8.5.8
  • >= 8.6.0, < 8.6.2 8.6.2
    composer require drupal/drupal: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