CVE-2021-21355

Unrestricted File Upload in Form Framework

HIGH
8.6
CVSS Score
Published: March 23, 2021 at 01:50 AM UTC
Updated: June 17, 2026 at 03:35 AM UTC
1 product affected across 1 vendorTYPO3

Using TYPO3.CMS by TYPO3?

Get instant alerts when new vulnerabilities affect TYPO3.CMS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.6
Exploit prediction
EPSS 2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
v ≤ 10.4.13v ≤ 11.1.0v ≤ 8.7.39v ≤ 9.5.2410.0.0 ≤ v < 10.4.1411.0.0 ≤ v < 11.1.18.0.0 ≤ v < 8.7.409.0.0 ≤ v < 9.5.25
Affected range stops below 10.4.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 11.1.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.7.40, so it looks safe — our inference, not a vendor statement
Affected range stops below 9.5.25, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

CVSS

8.6HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-434CWE-552

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card