# TYPO3-CORE-SA-2026-029: Information Disclosure in Form Framework

TYPO3 Form Framework leaked the unguessable upload folder path via raw storage error messages, letting attackers derive public URLs of uploaded files and achieve XSS.

- Payout: Real-world hack
- Severity: medium
- Program: TYPO3
- Found by (vendor credit): Torben Hansen
- Analysis by: TYPO3
- Disclosed: 2026-11-17
- CVE: CVE-2026-125160
- Write-up quality: 6/10
- Original: https://news.typo3.com/security/advisory/typo3-core-sa-2026-029
- Library page: https://bugbountylibrary.com/r/blog%3Anews-typo3-com-security-advisory-typo3-core-sa-2026-029
- Tags: area:web domain:web impact:integrity kind:incident platform:threat-intel sev:medium tech:php technique:chained vuln:file-upload vuln:info-disclosure vuln:xss

**Target:** Form Framework (ext:form) FileUpload/ImageUpload elements
**Root cause:** When storing an uploaded file failed (e.g. filename exceeding filesystem length limit), the raw error message was rendered to the frontend user, disclosing the storage path including the unguessable per-session sub-folder name and the server temp upload directory.
**Steps:**
1. Submit a form with a FileUpload/ImageUpload element using a filename that exceeds the filesystem length limit so storage fails.
2. Observe the raw error message returned to the frontend, which contains the storage path with the unguessable session sub-folder name and temp upload directory.
3. Use the disclosed folder name to construct the public URL of files uploaded through the form.
4. Upload an HTML document via the form and access it at the derived URL; on servers lacking TYPO3's recommended CSP on the upload folder, the HTML executes as XSS.
**How found:** Security team member noted that failed uploads surfaced raw storage error messages containing the internal path, and that the per-session folder name is otherwise unguessable but constant for the session.
**Exploitation:** Attacker uploads an executable file type (e.g. HTML) through a form, triggers a storage failure to leak the unguessable upload sub-folder path, derives the public URL of the uploaded file, and lures a victim to it; without a restrictive CSP on the upload target folder the HTML runs as script in the TYPO3 origin.
**Escalation:** Chained information disclosure (path leak) with file upload to achieve stored XSS on servers missing the recommended CSP.
**Insight:** Error paths on upload handlers can leak the very unguessable directory names meant to protect uploaded files; check whether failure messages echo storage paths, then combine with executable file types when CSP is absent on the upload folder.

