Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled
`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 .
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-107842US | — | — | ||
Contao is an Open Source CMS. From version 4.0.0 until 5.3.50 and 5.7.12, ModuleSearch can disclose protected page titles, URLs, and indexed context snippets to unauthenticated vis… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/contao/contaoPACKAGE
- https://github.com/contao/contao/commit/572686a113bca60f92cf2d0496cf3a74d0b6b457WEB
- https://github.com/contao/contao/releases/tag/5.3.50WEB
- https://github.com/contao/contao/releases/tag/5.7.12WEB
- https://github.com/contao/contao/security/advisories/GHSA-x2rp-9qf7-2fmqWEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan