Skip to main content
Mallory
UnratedPublic exploitVulnerability

CVE-2026-104884: Stored XSS in Contao legacy frontend search results

Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-104884CWE-79

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
CVE-2026-104884The repository contains 29 files, including 12 code/build/template files, and provides a standalone Python driver plus a containerized differential XSS laboratory. It attributes the issue to CVE-2026-104884: ModuleSearch::compile assigns an indexed title directly to link, which the legacy search_default.html5 template outputs without escaping. The fixed assignment escapes link and href with StringUtil::specialchars. The supplied source and evidence are consistent with that rendering difference; the CVE, affected-version range, and upstream provenance were not independently verified. exploit/exploit.py posts a hardcoded alert payload to the custom /search service. poc/poc.py adds readiness checks, check/exploit/probe/mitigation modes, and script-tag, img-onerror, and benign-title cases. lab/ contains the Python HTTP wrapper, PHP harness and stubs, legacy template, and separate vulnerable/fixed assignment snippets. The Dockerfiles package these local files rather than installing a full Contao application or downloading upstream source. run-lab.sh builds and runs both sides on a dedicated Podman network and captures comparisons. Makefile supplies convenience targets, with a duplicate exploit target. Thirteen evidence files contain captured results; the remaining files provide documentation, licensing, citation, and security policy. Important limitations: the claimed full-chain exploit is simulated. There is no backend login, page update, real search index, visitor browser, or JavaScript execution verification. The harness additionally appends the payload to a synthetic URL after an attribute-closing sequence, so vulnerable results can arise from href injection as well as the intended raw link. Its raw_script flag is a tag-matching regular expression, while escaped checks only the literal escaped script opening tag; consequently, both flags may be true and escaped=false does not prove an img payload was unescaped. The standalone driver and exploit mode can classify missing or malformed result fields as fixed. No malicious callback endpoint or exfiltration functionality is present. Repository reference and archive size were not supplied; their fields use an empty string and zero as unknown-value placeholders.googlesky · Disclosed Nov 21, 2026 · python · php · web · browserOperational
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.