GHSA-mfqj-cqv3-h7xw
TYPO3 CMS - Unrestricted File Upload in Form Framework
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | typo3/cms-form | >= 14.2.0, < 14.3.5 | 14.3.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Problem
Users were able to upload files with arbitrary MIME types to forms using _FileUpload_ or _ImageUpload_ elements with _allowedMimeTypes_ configured - uploading PHP files was **not** possible. The restriction was not enforced server-side because the _MimeTypeValidator_ was registered during form building before concrete form definition properties were applied, resulting in the validator never being added to the processing pipeline.
### Solution
Update to TYPO3 version 14.3.5 LTS that fixes the problem described.
### Credits
Thanks to Sébastien Convers for reporting this issue, and to Josua Vogel and Oliver Hader for fixing it.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/TYPO3/typo3/security/advisories/GHSA-mfqj-cqv3-h7xw
- https://nvd.nist.gov/vuln/detail/CVE-2026-15305
- https://github.com/TYPO3/typo3/commit/817ad41cc9dd28aac0fc4d0fe16fc25d46dd554a
- https://github.com/TYPO3/typo3/commit/cfda21050398eb145211a4fa6f9988f10e43e10b
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-form/CVE-2026-15305.yaml
- https://github.com/TYPO3/typo3
- https://news.typo3.com/security/advisory/typo3-core-sa-2026-020
- https://typo3.org/security/advisory/typo3-core-sa-2026-020