CVE-2025-5256

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability16. percentile0.2%
ProductMautic/core
PublishedMay 28, 2025
First seenMay 28, 2025

How to fix

Update
  • mautic/core4.4.16, 5.2.6, 6.0.2 or later

Affected products

ProductAffected versionsFixed in
mautic/corePackagist1.0.0 ≤ v < 4.4.16, 5.0.0-alpha ≤ v < 5.2.6, 6.0.0-alpha ≤ v < 6.0.24.4.16, 5.2.6, 6.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.