CVE-2025-57757: Contao can disclose sensitive information in the news module
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
8/28/2025
Updated
8/28/2025
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| contao/core-bundle | composer | >= 5.0.0-RC1, < 5.3.38 | 5.3.38 |
| contao/core-bundle | composer | >= 5.4.0-RC1, < 5.6.1 | 5.6.1 |
| contao/contao | composer | >= 5.0.0-RC1, < 5.3.38 | 5.3.38 |
| contao/contao | composer | >= 5.4.0-RC1, < 5.6.1 | 5.6.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability lies in the news-bundle of Contao, specifically within the NewsFeedListener. The provided commit e75f46b11974fbf7a4652e65c19ad6ca84c59271 addresses an information disclosure vulnerability where protected news articles were being exposed in RSS feeds.
The analysis of the patch reveals the following:
- Dependency Injection: The
NewsFeedListeneris now injected with theAuthorizationCheckerInterface, indicating that authorization checks are being added. - Code Modification: The
onFetchArticlesForFeedmethod inNewsFeedListener.phpis modified. Previously, it would deserialize thenewsArchivesfrom the page model and directly use them. The patch adds a call to a new private method,sortOutProtected, to filter this list of archives. - New Filtering Logic: The new
sortOutProtectedmethod iterates through the provided news archive IDs, checks if the archive is marked as 'protected', and uses theauthorizationCheckerto verify if the current user has the appropriate group memberships to view it. Archives that are protected and for which the user lacks permission are filtered out.
This clearly pinpoints Contao\NewsBundle\EventListener\NewsFeedListener::onFetchArticlesForFeed as the vulnerable function. It was the entry point for the logic that failed to perform necessary access control checks, leading to the information disclosure. The absence of the permission check in this function is the root cause of the vulnerability.