CVE-2026-104884: Stored XSS in Contao legacy frontend search results
CVE-2026-104884 is a stored cross-site scripting vulnerability in contao/core-bundle frontend search results when the legacy HTML5 search template is active. The template renders an unescaped link variable containing an entity-decoded indexed page title, bypassing earlier hardening of the separate title variable. A backend page editor can introduce malicious script through a page title, which subsequently executes when users view affected frontend search results. The default Twig search template in version 5.7.9 is not affected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Malicious script can execute in the browsers of anonymous visitors and administrators viewing affected frontend search results, crossing the trust boundary between backend editors and frontend visitors. The vulnerability has a CVSS v3.0 base score of 5.4, with low confidentiality and integrity impacts, changed scope, and no availability impact.
Mitigation
If you can’t patch tonight, do this now.
Configure the search module to use the auto-escaping search_default.html.twig template instead of the legacy search_default.html5 template. Review migrated installations and custom template selections for continued use of the legacy template.
Remediation
Patch, then assume compromise.
Upgrade contao/core-bundle and related packages to the applicable fixed release: version 5.3.50 for the affected release range beginning at 4.9.0, or version 5.7.12 for the affected release range beginning at 5.4.0-RC1.
Exploits
1 exploit validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2026-104884 exploited in the wild?
- As of Nov 21, 2026, Mallory has no reports of CVE-2026-104884 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-104884?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-104884, the earliest disclosed Nov 21, 2026.
- Is there a patch for CVE-2026-104884?
- Upgrade contao/core-bundle and related packages to the applicable fixed release: version 5.3.50 for the affected release range beginning at 4.9.0, or version 5.7.12 for the affected release range beginning at 5.4.0-RC1.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.