PT-2025-23122 · Mautic · Mautic
Nick Vanpraet
+2
·
Published
2025-05-28
·
Updated
2025-05-30
·
CVE-2025-5256
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Mautic versions prior to the version that properly validates or sanitizes the returnUrl parameter
Description
The issue is related to 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. The vulnerability exists in the "/s/action/unlock/user.user/0" endpoint, where the
returnUrl parameter is not properly validated, allowing an attacker to craft a URL that redirects users to an arbitrary external website.Recommendations
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.
As a temporary workaround, consider restricting access to the /s/action/unlock/user.user/0 endpoint to minimize the risk of exploitation.
Avoid using the returnUrl parameter in the affected endpoint until the issue is resolved.Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mautic