CVE-2021-21355
published high CVSS 3.1 · 8.6Unrestricted File Upload in Form Framework
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TYPO3 | — | 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TYPO3 | TYPO3.CMS | >= 8.0.0, <= 8.7.39 (affected)>= 9.0.0, <= 9.5.24 (affected)>= 10.0.0, <= 10.4.13 (affected)>= 11.0.0, <= 11.1.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
- CWE-552 CWE-552 Files or Directories Accessible to External Parties
References
3Provider assertions
2GitHub_M · cna
Unrestricted File Upload in Form Framework
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5a86cdef91e3b7f603da4fdfd19214f5510454bbaa0b658c4c6ab8e421184cfe
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record