phpatch.com

← phpatch.com home

Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled

Medium · CVSS 5.3

`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.

Remediation

Upgrade contao/core-bundle to 5.3.50 or later. Upgrade contao/core-bundle to 5.7.12 or later.

Affected PHP branches

See the source advisory.

Check your site

Source: GitHub Global Security Advisories (Composer ecosystem) · retrieved 2026-10-22T10:19:14-04:00 · https://github.com/advisories/GHSA-x2rp-9qf7-2fmq

← All threats