Vulnerability · Published May 28, 2025 · Assigned by Mautic

CVE-2025-5256Open Redirect vulnerability on user unlock path

Medium 5.4

In plain English

A medium-severity open redirect in Mautic from Mautic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.2%top 83.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmautic/core4.4.16GHSA-6vx9-9r2g-8373
Packagistmautic/core5.2.6GHSA-6vx9-9r2g-8373
Packagistmautic/core6.0.2GHSA-6vx9-9r2g-8373

Affected products (as reported)

VendorProductVersions
Mautic Mautic > 1.0.0 – before < 6.0.2, < 5.2.6, < 4.4.16

Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

References