Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-107842
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:03 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 9 Oct 2026, 19:02 UTC

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.

osv:CVE-2026-107842
Complete source record
{
  "id": "a60503f30898efec6f1faa39bdc4b26684cce52e3a4c12c8d548a53fe4e13179",
  "url": "https://osv.dev/vulnerability/CVE-2026-107842",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled",
    "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 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.",
    "evidence": "osv:CVE-2026-107842",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-107842",
      "aliases": [
        "CVE-2026-107842",
        "GHSA-x2rp-9qf7-2fmq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/contao/contao",
              "type": "GIT",
              "events": [
                {
                  "introduced": "84b2fe637d5ead531f117f26b48d1b9de8df4074"
                },
                {
                  "fixed": "a11109b60dedcbd99e32a4e8550afdadb500f2c5"
                },
                {
                  "introduced": "c5e3841e5107ab36ae2bf7795fb8d51d3d30f88b"
                },
                {
                  "fixed": "a6543f49a92187a7368f51b290179c4795386e23"
                },
                {
                  "fixed": "572686a113bca60f92cf2d0496cf3a74d0b6b457"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "5.3.50"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.4.0-RC1"
                      },
                      {
                        "fixed": "5.7.12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "572686a113bca60f92cf2d0496cf3a74d0b6b457"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a11109b60dedcbd99e32a4e8550afdadb500f2c5"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "5.3.50"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a6543f49a92187a7368f51b290179c4795386e23"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "5.7.12"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107842.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.903621993Z",
      "provider": "osv",
      "references": [
        "https://github.com/contao/contao/releases/tag/5.3.50",
        "https://github.com/contao/contao/releases/tag/5.7.12",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107842.json",
        "https://github.com/contao/contao/security/advisories/GHSA-x2rp-9qf7-2fmq",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-107842",
        "https://github.com/contao/contao/commit/572686a113bca60f92cf2d0496cf3a74d0b6b457"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107842.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107842",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517207,
  "published_at": "2026-10-09T19:02:30.677+00:00"
}