CVE-2025-47939: TYPO3 CMS Vulnerable to Unrestricted File Upload in File Abstraction Layer

Published May 20, 2025
·
Updated

Problem By design, the file management module in TYPO3’s backend user interface has historically allowed the upload of any file type, with the exception of those that are directly executable in a web server context. This lack of restriction means it is possible to upload files that may be considered potentially harmful, such as executable binaries (e.g., .exe files), or files with inconsistent file extensions and MIME types (for example, a file incorrectly named with a .png extension but actually carrying the MIME type application/zip).

Although such files are not directly executable through the web server, their presence can introduce indirect risks. For example, third-party services such as antivirus scanners or malware detection systems might flag or block access to the website for end users if suspicious files are found. This could negatively affect the availability or reputation of the site.

Solution Update to TYPO3 versions 9.5.51 ELTS, 10.4.50 ELTS, 11.5.44 ELTS, 12.4.31 LTS, 13.4.12 LTS that fix the problem described.

> [!NOTE] > The mitigation strategies outlined below apply broadly to all file uploads handled through TYPO3's File Abstraction Layer (FAL), not just those performed via the backend interface. This means that any extension or custom integration leveraging FAL will also be subject to the new validation rules and configuration options. Developers are advised to review the implications for their code and refer to the documentation of that change for guidance.

> [!IMPORTANT] > > Strong security defaults - Manual actions required > > These versions introduce new configuration options to better control which files are permitted for upload and to improve consistency checks. > > A new configuration option, $GLOBALS['TYPO3CONFVARS']['SYS']['miscfileext'], has been added. This option allows administrators to explicitly define which file extensions should be permitted that are not already part of the built-in text or media file groups - examples include archive formats such as zip or xz. > > In addition, two new feature flags have been introduced to enhance security: > security.system.enforceAllowedFileExtensions, enforces the defined list of allowed file extensions. This flag is enabled by default in new TYPO3 installations, but remains disabled in existing installations to prevent breaking changes. > security.system.enforceFileExtensionMimeTypeConsistency, ensures that the uploaded file’s extension matches its actual MIME type, providing further validation of file integrity. This flag is active by default. > > It is recommended to configure the allowed file extensions via $GLOBALS['TYPO3CONFVARS']['SYS']['miscfileext'] and to enable the feature flag security.system.enforceAllowedFileExtensions to enforce the restriction.

Credits Thanks to Hamed Kohi for reporting this issue, and to TYPO3 core & security team member Oliver Hader for fixing it.

Other sources

TYPO3 is an open source, PHP based web content management system. By design, the file management module in TYPO3’s backend user interface has historically allowed the upload of any file type, with the exception of those that are directly executable in a web server context. This lack of restriction means it is possible to upload files that may be considered potentially harmful, such as executable binaries (e.g., .exe files), or files with inconsistent file extensions and MIME types (for example, a file incorrectly named with a .png extension but actually carrying the MIME type application/zip) starting in version 9.0.0 and prior to versions 9.5.51 ELTS, 10.4.50 ELTS, 11.5.44 ELTS, 12.4.31 LTS, and 13.4.12 LTS. Although such files are not directly executable through the web server, their presence can introduce indirect risks. For example, third-party services such as antivirus scanners or malware detection systems might flag or block access to the website for end users if suspicious files are found. This could negatively affect the availability or reputation of the site. Users should update to TYPO3 version 9.5.51 ELTS, 10.4.50 ELTS, 11.5.44 ELTS, 12.4.31 LTS, or 13.4.12 LTS to fix the problem.

MITRE

Affected Software

11 affected componentsFixes available
Typo3 TYPO3>=9.0.0, <9.5.51, <10.4.50, <11.5.44, <12.4.31, <13.4.12
composer/typo3/cms-core>=13.0.0<=13.4.11
13.4.12
composer/typo3/cms-core>=12.0.0<=12.4.30
12.4.31
composer/typo3/cms-core>=11.0.0<=11.5.43
11.5.44
composer/typo3/cms-core>=10.0.0<=10.4.49
10.4.50
composer/typo3/cms-core>=9.0.0<=9.5.50
9.5.51
Typo3 TYPO3>=9.0.0<9.5.51
Typo3 TYPO3>=10.0.0<10.4.50
Typo3 TYPO3>=11.0.0<11.5.44
Typo3 TYPO3>=12.0.0<12.4.31
Typo3 TYPO3>=13.0.0<13.4.12

Event History

May 20, 2025
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
Affected Software
Advisory Published
via GitHub·07:35 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-47939?

CVE-2025-47939 has been classified as a high severity vulnerability due to its potential for unauthorized file uploads.

2

How do I fix CVE-2025-47939?

To fix CVE-2025-47939, upgrade TYPO3 to a version that is not vulnerable, specifically 9.5.52 or higher, 10.4.51 or higher, 11.5.45 or higher, 12.4.32 or higher, or 13.4.13 or higher.

3

What versions of TYPO3 are affected by CVE-2025-47939?

CVE-2025-47939 affects TYPO3 versions from 9.0.0 up to 9.5.51, 10.4.50, 11.5.44, 12.4.31, and 13.4.12.

4

What types of files can be uploaded due to CVE-2025-47939?

CVE-2025-47939 allows the upload of any file type except those that are executable in a web server context.

5

Is there a known exploit for CVE-2025-47939?

As of now, there are no known exploits publicly available for CVE-2025-47939, but it poses a serious security risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203