---
id: CVE-2026-107842
title: Contao is an Open Source CMS
summary: >-
  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 …
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-200
vendor: contao
product: contao/core-bundle
affected:
  - 'contao/core-bundle >= 4.0.0, < 5.3.50'
  - 'contao/core-bundle >= 5.4.0-RC1, < 5.7.12'
patched:
  - contao/core-bundle 5.3.50
  - contao/core-bundle 5.7.12
published: '2026-10-09'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T20:17:10.013'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107842'
references:
  - url: >-
      https://github.com/contao/contao/commit/572686a113bca60f92cf2d0496cf3a74d0b6b457
    label: security-advisories@github.com
  - url: 'https://github.com/contao/contao/releases/tag/5.3.50'
    label: security-advisories@github.com
  - url: 'https://github.com/contao/contao/releases/tag/5.7.12'
    label: security-advisories@github.com
  - url: 'https://github.com/contao/contao/security/advisories/GHSA-x2rp-9qf7-2fmq'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-x2rp-9qf7-2fmq'
tags:
  - nvd
  - ghsa
  - composer
aliases:
  - GHSA-x2rp-9qf7-2fmq
ecosystem: composer
ingestedAt: '2026-10-09T21:12:42.317Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-107842)

Affected packages:

- `contao/core-bundle >= 4.0.0, < 5.3.50`
- `contao/core-bundle >= 5.4.0-RC1, < 5.7.12`

Patched in:

- `contao/core-bundle 5.3.50`
- `contao/core-bundle 5.7.12`

Source: https://github.com/advisories/GHSA-x2rp-9qf7-2fmq
