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

Advisory record · `GHSA-x2rp-9qf7-2fmq`

- **Identifiers:** `GHSA-x2rp-9qf7-2fmq` · `CVE-2026-107842` · `PKSA-bmqh-y7sv-p1st`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 9 Oct 2026
- **Updated:** 9 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 9 Oct 2026, 20:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `contao/core-bundle` (Packagist): affected `>=4.0.0, <5.3.50 || >=5.4.0-RC1, <5.7.12`; fixed in `5.3.50`, `5.7.12`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Contao's contao/core-bundle is affected in versions from 4.0.0 before 5.3.50 and from 5.4.0-RC1 before 5.7.12. If the contao.search.index_protected setting is turned off after protected pages were indexed, the site search can return titles, URLs and text snippets of those member-only pages to anonymous visitors, because the stored search rows are not removed. An unauthenticated visitor can see this through ordinary site search, though the pages themselves still require authentication. Upgrade to 5.3.50 or 5.7.12, which are the fixed versions.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 18th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 25 Aug 2026, 06:40 UTC: [Confirmed by Packagist](https://contao.org/en/security-advisories/exposure-of-sensitive-information-through-a-stale-search-index)
- 31 Oct 2026, 13:53 UTC: First seen by agentprime
- 31 Oct 2026, 13:53 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-x2rp-9qf7-2fmq)

## Sources

- [GitHub Advisory Database: GHSA-x2rp-9qf7-2fmq](https://github.com/advisories/GHSA-x2rp-9qf7-2fmq)
- [OSV: GHSA-x2rp-9qf7-2fmq](https://osv.dev/vulnerability/GHSA-x2rp-9qf7-2fmq)
- <https://github.com/contao/contao/security/advisories/GHSA-x2rp-9qf7-2fmq>
- <https://github.com/contao/contao/commit/572686a113bca60f92cf2d0496cf3a74d0b6b457>
- <https://github.com/contao/contao>
- <https://github.com/contao/contao/releases/tag/5.3.50>
- <https://github.com/contao/contao/releases/tag/5.7.12>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-x2rp-9qf7-2fmq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-x2rp-9qf7-2fmq/>. Everything for agents: <https://agentprime.io/llms.txt>.
