Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-5256 EUVD-2025-16192GHSA-6vx9-9r2g-8373

Open Redirect vulnerability on user unlock path

Published May 28, 2025 · Updated May 28, 2025 · Assigned by Mautic

Description

SummaryThis advisory addresses an Open Redirection vulnerability in Mautic's user unlocking endpoint. This vulnerability could be exploited by an attacker to redirect legitimate users to malicious websites, potentially leading to phishing attacks or the delivery of exploit kits.

Open Redirection via returnUrl Parameter: An Open Redirection vulnerability exists in the /s/action/unlock/user.user/0 endpoint. The returnUrl parameter, intended for post-action redirection, is not properly validated. This allows an attacker to craft a URL that, when clicked by a user, redirects them to an arbitrary external website controlled by the attacker.

MitigationUpdate Mautic to a version that properly validates or sanitizes the returnUrl parameter to ensure that redirects only occur to trusted, internal URLs or explicitly whitelisted domains.

Affected products

VendorProductAffectedFixed
Mautic Mautic > 1.0.0 – < < 6.0.2, < 5.2.6, < 4.4.16 < 6.0.2, < 5.2.6, < 4.4.16

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist mautic/core >= 1.0.0, < 4.4.16 4.4.16 GHSA-6vx9-9r2g-8373
Packagist mautic/core >= 5.0.0-alpha, < 5.2.6 5.2.6 GHSA-6vx9-9r2g-8373
Packagist mautic/core >= 6.0.0-alpha, < 6.0.2 6.0.2 GHSA-6vx9-9r2g-8373

References