GitHub Advisoryadvisory · Packagist
GHSA-mfqj-cqv3-h7xw TYPO3 CMS - Unrestricted File Upload in Form Framework
MEDIUM
Official page ↗
- Aliases
- CVE-2026-15305
- Ecosystem
- Packagist
- Packages
- typo3/cms-form
- Severity
- Moderate
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
- Weaknesses
- CWE-351
- Reviewed
- 2026-08-31
Affected packages
• Packagist typo3/cms-form: >= 14.2.0, < 14.3.5 → fixed in 14.3.5
Description
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.
Related
Alias · CVE (1)
- CVE-2026-15305 Users were able to upload files with arbitrary MIME types to forms using FileUpload or ImageUpload elements with allowedMimeTypes… vulnerability
Weakness · CWE (1)
- CWE-351 Insufficient Type Distinction weakness
References
- https://github.com/TYPO3/typo3/security/advisories/GHSA-mfqj-cqv3-h7xw web
- https://nvd.nist.gov/vuln/detail/CVE-2026-15305 advisory
- https://github.com/TYPO3/typo3/commit/817ad41cc9dd28aac0fc4d0fe16fc25d46dd554a web
- https://github.com/TYPO3/typo3/commit/cfda21050398eb145211a4fa6f9988f10e43e10b web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-form/CVE-2026-15305.yaml web
- https://github.com/TYPO3/typo3 package
- https://news.typo3.com/security/advisory/typo3-core-sa-2026-020 web
- https://typo3.org/security/advisory/typo3-core-sa-2026-020 web