Advisory

GHSA-6vx9-9r2g-8373

Also known as: CVE-2025-5256

Summary

Mautic has an Open Redirect vulnerability on user unlock path.

Details

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 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.

Mitigation
Update 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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-05-28 17:39 UTC
Modified
2025-05-28 20:48 UTC

Affected packages and fixes

mautic/core

Packagist · All systems

Affected

  • introduced 1.0.0, fixed 4.4.16 (ecosystem)

Fixed versions

4.4.16

Fix

The export has no generic command for this ecosystem.

mautic/core

Packagist · All systems

Affected

  • introduced 5.0.0-alpha, fixed 5.2.6 (ecosystem)

Fixed versions

5.2.6

Fix

The export has no generic command for this ecosystem.

mautic/core

Packagist · All systems

Affected

  • introduced 6.0.0-alpha, fixed 6.0.2 (ecosystem)

Fixed versions

6.0.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences