Live threats

All CVEs / Typo3

CVE-2021-21355Typo3

High 8.6 No auth needed

Priority
67
CVSS 3.1
8.6
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Mar 23, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-434, CWE-552
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Typo3.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist typo3/cms ≥ 10.0.0 < 10.4.14 10.4.14 composer require "typo3/cms:^10.4.14"
Packagist typo3/cms ≥ 11.0.0 < 11.1.1 11.1.1 composer require "typo3/cms:^11.1.1"
Packagist typo3/cms ≥ 9.0.0 < 9.5.25 9.5.25 composer require "typo3/cms:^9.5.25"
Packagist typo3/cms-core ≥ 10.0.0 < 10.4.14 10.4.14 composer require "typo3/cms-core:^10.4.14"
Packagist typo3/cms-core ≥ 11.0.0 < 11.1.1 11.1.1 composer require "typo3/cms-core:^11.1.1"
Packagist typo3/cms-core ≥ 9.0.0 < 9.5.25 9.5.25 composer require "typo3/cms-core:^9.5.25"
Packagist typo3/cms-form ≥ 8.0.0 < 8.7.40 8.7.40 composer require "typo3/cms-form:^8.7.40"
Packagist typo3/cms-form ≥ 9.0.0 < 9.5.25 9.5.25 composer require "typo3/cms-form:^9.5.25"
Packagist typo3/cms-form ≥ 10.0.0 < 10.4.14 10.4.14 composer require "typo3/cms-form:^10.4.14"
Packagist typo3/cms-form ≥ 11.0.0 < 11.1.1 11.1.1 composer require "typo3/cms-form:^11.1.1"

Per OSV / GitHub Advisories (GHSA-2r6j-862c-m2v2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
typo3typo3≥ 8.0.0 < 8.7.40
typo3typo3≥ 9.0.0 < 9.5.25
typo3typo3≥ 10.0.0 < 10.4.14
typo3typo3≥ 11.0.0 < 11.1.1

Official sources

References

Links published by the sources. Open them with care.