Mautic has an Open Redirect vulnerability on user unlock path.
Package
Affected versions
>= 1.0.0, < 4.4.16
      >= 5.0.0-alpha, < 5.2.6
      >= 6.0.0-alpha, < 6.0.2
  Patched versions
4.4.16
      5.2.6
      6.0.2
  Description
        Published to the GitHub Advisory Database
      May 28, 2025 
    
  
        Reviewed
      May 28, 2025 
    
  
        Published by the National Vulnerability Database
      May 28, 2025 
    
  
        Last updated
      May 29, 2025 
    
  
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
returnUrlParameter: An Open Redirection vulnerability exists in the/s/action/unlock/user.user/0endpoint. ThereturnUrlparameter, 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
returnUrlparameter to ensure that redirects only occur to trusted, internal URLs or explicitly whitelisted domains.References