Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mautic/core
  4. ›
  5. CVE-2025-5256

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

May 28, 2025

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.

References

  • github.com/advisories/GHSA-6vx9-9r2g-8373
  • github.com/mautic/mautic
  • github.com/mautic/mautic/security/advisories/GHSA-6vx9-9r2g-8373
  • nvd.nist.gov/vuln/detail/CVE-2025-5256

Code Behaviors & Features

Detect and mitigate CVE-2025-5256 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 4.4.16, all versions starting from 5.0.0-alpha before 5.2.6, all versions starting from 6.0.0-alpha before 6.0.2

Fixed versions

  • 4.4.16
  • 5.2.6
  • 6.0.2

Solution

Upgrade to versions 4.4.16, 5.2.6, 6.0.2 or above.

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

packagist/mautic/core/CVE-2025-5256.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:01 +0000.