CVE-2025-5257 Predictable Page Indexing Might Lead to Sensitive Data Exposure
Unauthenticated attackers can access unpublished page previews via predictable URLs, leading to sensitive data exposure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-5257?
CVE-2025-5257 is a medium-severity missing authorization vulnerability in Mautic, published on 28 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SummaryThis advisory addresses a security vulnerability in Mautic where unpublished page previews could be accessed by unauthenticated users and potentially indexed by search engines. This could lead to the unintended disclosure of draft content or sensitive information.
Unauthorized Access to Unpublished Page Previews: The page preview functionality for unpublished content, accessible via predictable URLs (e.g., /page/preview/1, /page/preview/2), lacked proper authorization checks. This allowed any unauthenticated user to view content that was not yet intended for public release, and allowed search engines to index these private preview URLs, making the content publicly discoverable. MitigationMautic has patched this vulnerability by enforcing proper permission checks on preview pages. Users should upgrade to the patched version of Mautic or later.
Weakness: CWE-1284
Which versions are affected by CVE-2025-5257?
6 open source packages ship an affected version, including mautic/core.
| Package | Affected | Fixed in |
|---|---|---|
mautic/core Packagist | From 4.0.0 | 4.4.16 |
mautic/core Packagist | From 4.0.0 | 4.4.16 |
mautic/core Packagist | From 5.0.0-alpha | 5.2.6 |
mautic/core Packagist | From 5.0.0-alpha | 5.2.6 |
mautic/core Packagist | From 6.0.0-alpha | 6.0.2 |
mautic/core Packagist | From 6.0.0-alpha | 6.0.2 |
How do I fix CVE-2025-5257?
Upgrade mautic/core to a fixed version for your release line: 4.4.16, 5.2.6 or 6.0.2.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-5257 being exploited?
There is no known exploitation of CVE-2025-5257 in the wild and no public exploit code.
Sources
Also known as CVE-2025-48874, GHSA-cqx4-9vqf-q3m8.