CVE-2025-5257: Mautic/core Mautic's Predictable Page Indexing Might Vulnerability
MODERATECVE-2025-5257 is a MODERATE (CVSS 6.5) mautic's predictable page indexing might vulnerability (CWE-284: Improper Access Control) affecting Mautic/core libraries in the Packagist ecosystem. The issue involves mautic's predictable page indexing might lead to sensitive data exposure. Remediation is available by upgrading affected packages to version 4.4.16, 5.2.6, 6.0.2.
CVE-2025-5257 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L).
How to Fix CVE-2025-5257
To remediate this vulnerability, upgrade all affected Mautic/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade mautic/core to 4.4.16
Upgrade mautic/core to 5.2.6
Upgrade mautic/core to 6.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mautic/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-5257, inspect your project dependencies for Mautic/core:
inspect dependencies for mautic/core
Analyze the terminal output to locate any version of Mautic/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.4.16), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Mautic/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-5257 Affected Mautic/core Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mautic/core
|
Packagist |
≥ 4.0.0
< 4.4.16
|
4.4.16
|
|
mautic/core
|
Packagist |
≥ 5.0.0-alpha
< 5.2.6
|
5.2.6
|
|
mautic/core
|
Packagist |
≥ 6.0.0-alpha
< 6.0.2
|
6.0.2
|
References
Frequently Asked Questions
What is CVE-2025-5257?
Which Mautic/core versions are affected?
What version fixes CVE-2025-5257?
Is mautic/core affected?
What is the CVSS score of CVE-2025-5257?
What CWE is associated with CVE-2025-5257?
How can I check Packagist dependencies for CVE-2025-5257?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cqx4-9vqf-q3m8",
"modified" : "2025-05-28T20:08:01Z",
"published" : "2025-05-28T17:38:13Z",
"aliases" : [ "CVE-2025-5257" ],
"summary" : "Mautic's Predictable Page Indexing Might Lead to Sensitive Data Exposure",
"details" : "### Summary\nThis 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.\n\nUnauthorized 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.\n\n### Mitigation\nMautic has patched this vulnerability by enforcing proper permission checks on preview pages. Users should upgrade to the patched version of Mautic or later.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.4.16"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0-alpha"
}, {
"fixed" : "5.2.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0-alpha"
}, {
"fixed" : "6.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mautic/mautic/security/advisories/GHSA-cqx4-9vqf-q3m8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-5257"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mautic/mautic"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1284", "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-28T17:38:13Z",
"nvd_published_at" : "2025-05-28T17:15:25Z"
}
}