Advisory · CVE-2026-125160
Actively exploited TYPO3 form upload path disclosure enables XSS
A failed TYPO3 form file upload leaks the unguessable storage path in an error message, letting an attacker find files they uploaded through the form. Where the form accepts files browsers can execute, this leads to cross-site scripting. CISA lists it as known exploited.
- Vendor
- TYPO3
- Product
- TYPO3 CMS
- Identifier / CWE
- CVE-2026-125160
CWE-209 - Action timing
- Dec 14, 2026
Explain it like I’m five
TYPO3 stores form uploads in a secret folder whose name is meant to stay hidden. When an upload fails, the error message accidentally prints the secret folder name, so an attacker can find their own uploaded file and, if the form accepts web pages, run code in visitors' browsers.
- 01File upload
An attacker uploads a file through a TYPO3 form's FileUpload or ImageUpload element.
- 02Upload fails
The upload fails, for example because the file name exceeds the file system's length limit.
- 03Path leaks
The raw error message shown to the user discloses the storage path, including the unguessable folder name and the server's temporary upload directory.
- 04Uploaded file found
With the path known, the attacker can reach the public URL of the file they uploaded, and if the form accepts files browsers execute, such as HTML, this becomes cross-site scripting.
What happened
CISA added CVE-2026-125160 to the Known Exploited Vulnerabilities catalog on November 30, 2026, with a remediation due date of December 14, 2026. Files uploaded through TYPO3 form FileUpload or ImageUpload elements are stored in an unguessable sub-folder that stays the same for the whole form session. If storing an uploaded file failed, for example because the file name exceeded the file system’s length limit, the raw error message was shown to the frontend user, disclosing the storage path including the unguessable folder name and the server’s temporary upload directory. With that information, an attacker could determine the public URL of files they uploaded through the form.
If a form allows uploading files that browsers can execute, such as HTML documents, this leads to cross-site scripting on web servers that do not apply the Content-Security-Policy TYPO3 recommends for the form upload target folder. NVD notes the vulnerability is known to be actively exploited, and CISA’s assessment records exploitation as active.
TYPO3 fixed the flaw in versions 14.3.12, 13.4.40, 12.4.52, 11.5.57, and 10.4.63. Earlier releases in those lines are affected. NVD rates it CVSS 4.0 6.3; the score is modest, but the KEV listing means exploitation is confirmed in the wild, which outranks the score.
What to do
- Upgrade TYPO3 to 14.3.12, 13.4.40, 12.4.52, 11.5.57, or 10.4.63, matching your release line.
- Review forms that accept file uploads and confirm they do not accept file types browsers can execute, such as HTML.
- Apply the Content-Security-Policy TYPO3 recommends for the form upload target folder.
- Check server logs for failed uploads followed by direct requests for files in the upload folder, which indicate the path was used.
- Treat any uploaded executable file found on the server as a compromise indicator and investigate it before deleting it.
Management note
The score here understates the risk: this is a confirmed exploited flaw in a major open-source CMS, and the path from a leaked folder name to script execution in visitors’ browsers is short. Patch by the December 14 due date, and use the review to check that no form on the site accepts executable file types.