NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-5256: Mautic has an Open Redirect vulnerability on user unlock path.

mediumCVSS 3.1 5.4GHSA-6vx9-9r2g-8373

Summary This 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.

Published May 28, 2025 · Updated May 29, 2025

Affected packages

mautic/core

Ecosystem
Composer (PHP)
Affected
>= 1.0.0, < 4.4.16
Fixed in
4.4.16
Check
composer show mautic/core

mautic/core

Ecosystem
Composer (PHP)
Affected
>= 5.0.0-alpha, < 5.2.6
Fixed in
5.2.6
Check
composer show mautic/core

mautic/core

Ecosystem
Composer (PHP)
Affected
>= 6.0.0-alpha, < 6.0.2
Fixed in
6.0.2
Check
composer show mautic/core

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

This 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.

Mitigation

Update 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.

Credited to tomekkowalczyk, patrykgruszka, nick-vanpraet.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries