Advisory

GHSA-x2rp-9qf7-2fmq

Also known as: CVE-2026-107842

Summary

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

Details

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 .

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-10-09 20:54 UTC
Modified
2026-10-09 21:00 UTC

Affected packages and fixes

contao/core-bundle

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 5.3.50 (ecosystem)

Fixed versions

5.3.50

Fix

The export has no generic command for this ecosystem.

contao/core-bundle

Packagist · All systems

Affected

  • introduced 5.4.0-RC1, fixed 5.7.12 (ecosystem)

Fixed versions

5.7.12

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences