CVE-2025-5256Mautic
Medium 5.4 No auth needed
Follow: this CVE · Mautic · Mautic We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.4
- EPSS
- —
- Auth required
- No
- Published
- May 28, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
What happens
SummaryThis 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.
MitigationUpdate 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.
What to do
- Apply the vendor's security update for Mautic.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | mautic/core |
≥ 1.0.0 < 4.4.16 |
4.4.16 |
composer require "mautic/core:^4.4.16" |
| Packagist | mautic/core |
≥ 5.0.0-alpha < 5.2.6 |
5.2.6 |
composer require "mautic/core:^5.2.6" |
| Packagist | mautic/core |
≥ 6.0.0-alpha < 6.0.2 |
6.0.2 |
composer require "mautic/core:^6.0.2" |
Per OSV / GitHub Advisories (GHSA-6vx9-9r2g-8373). Check the version in your lockfile before upgrading.
Affected products
- Mautic · Mautic
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.