CVE-2026-125160: TYPO3 CMS Information Disclosure and Potential XSS
CVE-2026-125160 is an actively exploited information disclosure vulnerability in TYPO3 CMS affecting multiple versions. It allows unauthenticated attackers to reveal sensitive upload storage paths by triggering specific file upload errors. This information can then be used to determine the public URL of attacker-uploaded files, potentially leading to Cross-Site Scripting (XSS) under certain web server configurations.
Overview
CVE-2026-125160 is an actively exploited information disclosure vulnerability in TYPO3 CMS, listed in CISA’s Known Exploited Vulnerabilities (KEV) catalog. This flaw allows unauthenticated attackers to disclose sensitive file upload storage paths by intentionally triggering specific file upload errors. The revealed paths can then be used to determine the public URL of attacker-uploaded files, potentially enabling Cross-Site Scripting (XSS) if the web server configuration is not adequately secured.
Technical Analysis
This vulnerability, classified as CWE-209 (Generation of Error Message Containing Sensitive Information), arises when files uploaded through FileUpload or ImageUpload elements fail to store, for instance, due to a filename exceeding the filesystem’s length limit. In such cases, TYPO3 CMS incorrectly displays a raw error message to the frontend user.
- Vulnerability Type: Information Disclosure (CWE-209)
- Mechanism: A failed file upload via
FileUploadorImageUploadelements results in a raw error message being displayed. - Information Disclosed: The error message reveals the server’s temporary upload directory and the unguessable sub-folder name where files are temporarily stored during the form session.
- Impact: Attackers can use this path information to deduce the public URL of files they upload, bypassing the intended security of the ‘unguessable’ folder name.
- Secondary Impact (Conditional XSS): If the TYPO3 form allows the upload of browser-executable files (e.g., HTML documents) and the web server does not enforce the
Content-Security-Policyrecommended by TYPO3 for the upload target folder, this information disclosure can facilitate Cross-Site Scripting (XSS). - Attack Vector: Remote, unauthenticated.
- CVSS 3.1 Score: 5.3 (Medium) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Affected Versions:
- TYPO3 CMS >= 10.0.0 < 10.4.63
- TYPO3 CMS >= 11.0.0 < 11.5.57
- TYPO3 CMS >= 12.0.0 < 12.4.52
- TYPO3 CMS >= 13.0.0 < 13.4.40
- TYPO3 CMS >= 14.0.0 < 14.3.12
Detection
Defenders can identify potential exploitation attempts by monitoring web server logs for specific patterns indicative of failed file uploads and subsequent error responses.
- Monitor web server access logs for
POSTrequests targeting TYPO3 form submission endpoints (e.g., containingtx_form_formframeworkin the query string) that result in HTTP 5xx (server error) status codes. - Analyze web server error logs for messages disclosing file paths, temporary directories, or specific TYPO3-related upload errors following suspicious file upload attempts.
- Look for repeated file upload attempts with unusual or excessively long filenames, which may be designed to trigger filesystem length limits.
- Inspect network traffic for HTTP responses containing sensitive path information after file upload requests to TYPO3 instances.
Sigma Detection Rules
TYPO3 CMS Information Disclosure Attempt (CVE-2026-125160)
title: TYPO3 CMS Information Disclosure Attempt (CVE-2026-125160)
id: 5b6c7d8e-9f0a-1b2c-3d4e-5f6a7b8c9d0e
status: experimental
description: Detects attempts to exploit CVE-2026-125160 in TYPO3 CMS by triggering file upload errors to disclose sensitive path information. This rule looks for POST requests to TYPO3 form endpoints that result in server-side errors, indicative of a failed upload attempt.
logsource:
category: webserver
detection:
selection_method:
cs-method: 'POST'
selection_uri_typo3_form:
- cs-uri-query|contains: 'tx_form_formframework'
- cs-uri-stem|contains: '/typo3/index.php'
selection_status_error:
sc-status:
- 500
- 501
- 502
- 503
- 504
condition: selection_method and selection_uri_typo3_form and selection_status_error
level: medium
Mitigations
- Apply Patches Immediately: Update TYPO3 CMS to a patched version that addresses CVE-2026-125160. Recommended versions are:
- 10.4.63 or later
- 11.5.57 or later
- 12.4.52 or later
- 13.4.40 or later
- 14.3.12 or later
- Enforce Content Security Policy (CSP): Ensure that the web server hosting TYPO3 CMS strictly enforces the recommended Content-Security-Policy for all upload target folders. This is crucial to prevent potential Cross-Site Scripting (XSS) if executable files are uploaded.
- Review Error Handling: Implement custom error pages or sanitize error messages to prevent the disclosure of sensitive server-side information to frontend users.
- Strengthen Input Validation: Enhance input validation for file upload forms to prevent excessively long filenames or other malicious input that could trigger filesystem errors.
References
- https://github.com/TYPO3/typo3/commit/9a6ee621672ab2b5cdf49dd9f32ff83dc69b941e
- https://github.com/TYPO3/typo3/commit/a85657b507e3f4c6fb62a94c1a41ad13441af655
- https://github.com/TYPO3/typo3/commit/aecfd9afaffdb9c924df7b62ef39aacd26a34c3c
- https://news.typo3.com/security/advisory/typo3-core-sa-2026-029
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-125160
- https://nvd.nist.gov/vuln/detail/CVE-2026-125160
Indicators of Compromise
No public IOCs available at time of writing.
MITRE ATT&CK
T1592.001— Hardware
Generated by
gemini-2.5-flash ·2,324 input / 1,854 output tokens ·
Reviewed and approved by a human analyst before publication