CVE-2021-21355
Unrestricted File Upload in Form Framework
Also known as BIT-typo3-2021-21355, GHSA-2r6j-862c-m2v2
Mitigation
- Upgrade typo3/cms-form to one of 8.7.40, 9.5.25, 10.4.14, 11.1.1 (or later in the same release line).
- Upgrade typo3/cms-core to one of 10.4.14, 11.1.1, 9.5.25 (or later in the same release line).
- Upgrade typo3/cms to one of 10.4.14, 11.1.1, 9.5.25 (or later in the same release line).
Who should check
- Projects that depend on Packagist package typo3/cms-form (>= 8.0.0, < 8.7.40)
- Projects that depend on Packagist package typo3/cms-core (>= 10.0.0, < 10.4.14)
- Projects that depend on Packagist package typo3/cms (>= 10.0.0, < 10.4.14)
- Anyone running TYPO3.CMS >= 8.0.0, <= 8.7.39; >= 9.0.0, <= 9.5.24; >= 10.0.0, <= 10.4.13; >= 11.0.0, <= 11.1.0
Vulnerability facts
- Affected
- typo3/cms-form >= 8.0.0, < 8.7.40; typo3/cms-core >= 10.0.0, < 10.4.14; typo3/cms >= 10.0.0, < 10.4.14
- Fixed in
- 8.7.40, 9.5.25, 10.4.14, 11.1.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: Low
- EPSS
- 1.63% chance of exploitation in 30 days (percentile 77, 2026-11-26)
- CWE
- CWE-434, CWE-552
- Modified
Description
TYPO3 is an open source PHP based web content management system. In TYPO3 before versions 8.7.40, 9.5.25, 10.4.14, 11.1.1, due to the lack of ensuring file extensions belong to configured allowed mime-types, attackers can upload arbitrary data with arbitrary file extensions - however, default _fileDenyPattern_ successfully blocked files like _.htaccess_ or _malicious.php_. Besides that, _UploadedFileReferenceConverter_ transforming uploaded files into proper FileReference domain model objects handles possible file uploads for other extensions as well - given those extensions use the Extbase MVC framework, make use of FileReference items in their direct or inherited domain model definitions and did not implement their own type converter. In case this scenario applies, _UploadedFileReferenceConverter_ accepts any file mime-type and persists files in the default location. In any way, uploaded files are placed in the default location _/fileadmin/user_upload/_, in most scenarios keeping the submitted filename - which allows attackers to directly reference files, or even correctly guess filenames used by other individuals, disclosing this information. No authentication is required to exploit this vulnerability. This is fixed in versions 8.7.40, 9.5.25, 10.4.14, 11.1.1.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist typo3/cms-form | >= 8.0.0, < 8.7.40 | 8.7.40, 9.5.25, 10.4.14, 11.1.1 | osv |
| Packagist typo3/cms-core | >= 10.0.0, < 10.4.14 | 10.4.14, 11.1.1, 9.5.25 | osv |
| Packagist typo3/cms | >= 10.0.0, < 10.4.14 | 10.4.14, 11.1.1, 9.5.25 | osv |
| TYPO3.CMS | >= 8.0.0, <= 8.7.39; >= 9.0.0, <= 9.5.24; >= 10.0.0, <= 10.4.13; >= 11.0.0, <= 11.1.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-21355. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-21355.md Affected: typo3/cms-form >= 8.0.0, < 8.7.40; typo3/cms-core >= 10.0.0, < 10.4.14; typo3/cms >= 10.0.0, < 10.4.14 Fixed in: 8.7.40, 9.5.25, 10.4.14, 11.1.1 Steps: 1. Search this machine and project for typo3/cms-form (Packagist), typo3/cms-core (Packagist), typo3/cms (Packagist), TYPO3.CMS: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2021-21355 being exploited?
There is no confirmed exploitation: CVE-2021-21355 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.63% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-21355?
High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2021-21355?
typo3/cms-form >= 8.0.0, < 8.7.40; typo3/cms-core >= 10.0.0, < 10.4.14; typo3/cms >= 10.0.0, < 10.4.14.
Is there a fix for CVE-2021-21355?
Yes. Fixed in 8.7.40, 9.5.25, 10.4.14, 11.1.1. Upgrade typo3/cms-form to one of 8.7.40, 9.5.25, 10.4.14, 11.1.1 (or later in the same release line). Upgrade typo3/cms-core to one of 10.4.14, 11.1.1, 9.5.25 (or later in the same release line). Upgrade typo3/cms to one of 10.4.14, 11.1.1, 9.5.25 (or later in the same release line).
How do I check if I'm affected by CVE-2021-21355?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.