CVE-2025-5256: Mautic Core Open Redirect Vulnerability

mautic/core Updated 02 Oct 2025

Summary

28/05/2025
Yes i
Moderate
5.4

CVE-2025-5256: Mautic has an Open Redirect vulnerability on user unlock path. Affects mautic/core across 3 version ranges.

>= 1.0.0, < 4.4.16 >= 5.0.0-alpha, < 5.2.6 >= 6.0.0-alpha, < 6.0.2

Fixed in 4.4.16, 5.2.6 or 6.0.2, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Mautic is an open-source marketing automation platform that enables businesses to manage their marketing campaigns and customer interactions effectively. It provides features such as email marketing, lead management, and campaign tracking. However, Mautic has been found to have a vulnerability in its user unlocking endpoint, which could be exploited to redirect users to malicious sites.

Vulnerability Detail

The vulnerability is an Open Redirect issue located in the '/s/action/unlock/user.user/0' endpoint of Mautic. The 'returnUrl' parameter, which is supposed to direct users to a safe location after unlocking their accounts, lacks proper validation. This oversight allows attackers to manipulate the URL, redirecting users to arbitrary external sites, potentially leading to phishing attacks or the distribution of exploit kits.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.0.0, < 4.4.16 4.4.16
    composer require mautic/core:4.4.16
  • >= 5.0.0-alpha, < 5.2.6 5.2.6
    composer require mautic/core:5.2.6
  • >= 6.0.0-alpha, < 6.0.2 6.0.2
    composer require mautic/core:6.0.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, ensure that users are informed not to click on suspicious links and to verify the URLs they are directed to after unlocking their accounts. Additionally, consider implementing server-side checks to validate the 'returnUrl' parameter against a list of trusted domains.

Conclusion

The Open Redirect vulnerability in Mautic's user unlocking endpoint poses a significant risk to users, allowing attackers to redirect them to harmful sites. It is crucial to update to the latest patched versions to safeguard against potential exploits. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for mautic/core →

Share this vulnerability

FAQ

An Open Redirect vulnerability allows an attacker to redirect users from a legitimate site to a malicious one, often leading to phishing or malware distribution.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file.

The main risks include phishing attacks, where users may be tricked into providing sensitive information, and the potential delivery of exploit kits that could compromise user systems.

While updating is the best solution, you can mitigate the risk by educating users about the dangers of clicking on unknown links and implementing server-side validation for redirects.

If immediate updates are not possible, ensure that your users are aware of the vulnerability and monitor for any suspicious activity related to your Mautic installation.

Related vulnerabilities

Recent vulnerabilities recorded for mautic/core.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.0.0, < 4.4.16 4.4.16
    composer require mautic/core:4.4.16
  • >= 5.0.0-alpha, < 5.2.6 5.2.6
    composer require mautic/core:5.2.6
  • >= 6.0.0-alpha, < 6.0.2 6.0.2
    composer require mautic/core:6.0.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback