SecurityWeek says a TYPO3 bug is being exploited. NVD agrees, and CVE-2026-125160 carries the line “This vulnerability is known to be actively exploited.” I could only read the NVD text and the fix commits, so that’s what this is built on.
The bug is a lovely little piece of stupidity. TYPO3’s form extension stores files from FileUpload and ImageUpload elements in an unguessable sub-folder that stays the same for the whole form session. The unguessable part is the entire security model. Then, if storing the file failed (NVD’s example is a file name longer than the filesystem allows), the raw exception message went straight to the browser. That message included the storage path, the secret folder name, and the server’s temporary upload directory.
So the attacker uploads something that breaks storage on purpose, reads the secret out of the error, and now knows the public URL of files they upload in that session. If the form accepts anything a browser will execute, like HTML, that’s cross-site scripting. NVD notes this applies on web servers that don’t apply the Content-Security-Policy TYPO3 recommends for the form upload target folder.
The fix is in UploadedFileReferenceConverter.php. The old code caught \Exception and returned new Error($e->getMessage(), $e->getCode()). The new code logs the exception through a PSR logger and returns a generic “Upload failed.” validation error. The commit message says the same thing: the exception text got turned into a regular validation error and that disclosed sensitive information. The commits reference security bulletin TYPO3-CORE-SA-2026-029 and list the release branches main, 14.3 and 13.4. I have not read the bulletin itself, so check it for the exact fixed version numbers.
NVD’s secondary CVSS 4.0 score is 6.3, Medium, with network vector, low complexity, attack requirements present and no privileges. That is a middling number for something someone is already using. I have complained before that CVE scores stopped meaning much, and the flip side applies too: a Medium with an exploitation flag outranks a 9.8 nobody has touched.
What to do:
- Patch to the fixed release for your branch per the TYPO3 bulletin.
- Apply the CSP TYPO3 recommends to the form upload target folder. That blunts the XSS no matter what leaks.
- Look at which file types your forms accept. If HTML is on the list, ask who asked for that.
- Grep your logs for upload failures with oversized file names around the exploitation window. That’s my suggestion for a probe signature, not something the sources state.
Error messages are output, and output is an attack surface. Same shape as the Drupal installer bug from last week: boring code, boring flaw, real exploitation. More like it in the security hub.
