GitHub Advisoryadvisory · Packagist
GHSA-x2rp-9qf7-2fmq Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled
MEDIUM
Official page ↗
- Aliases
- CVE-2026-107842
- Ecosystem
- Packagist
- Packages
- contao/core-bundle
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2026-10-09
Affected packages
• Packagist contao/core-bundle: >= 4.0.0, < 5.3.50 → fixed in 5.3.50
• Packagist contao/core-bundle: >= 5.4.0-RC1, < 5.7.12 → fixed in 5.7.12
Description
`ModuleSearch` decides whether to filter protected pages out of search results based on the current value of `contao.search.index_protected`, but the authorisation data lives per row in `tl_search`. Turning the setting off removes
the filter without removing the rows, so protected pages that were indexed while it was on are returned to unauthenticated visitors such as title, URL and context snippet, even though the pages themselves still answer 401.
Impact
Disclosure of member-only page titles, URLs and indexed text to unauthenticated visitors through the site search. The pages themselves remain access-controlled, so this is not a page-access bypass.
Credits
This security vulnerability was found by @iRevivalx .
Related
Alias · CVE (1)
- CVE-2026-107842 Contao is an Open Source CMS. vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- https://github.com/contao/contao/security/advisories/GHSA-x2rp-9qf7-2fmq web
- https://github.com/contao/contao/commit/572686a113bca60f92cf2d0496cf3a74d0b6b457 web
- https://github.com/contao/contao package
- https://github.com/contao/contao/releases/tag/5.3.50 web
- https://github.com/contao/contao/releases/tag/5.7.12 web