HighGHSA-3vg7-jw9m-pc3fBIT-typo3-2021-21357CVE-2021-21357

Broken Access Control in Form Framework

Published 23 Mar 2021 · Updated 8 Jul 2026

Affected packages

Affected
>=8.0.0 <8.7.40
Fixed in
8.7.40
Update to the fixed version for your release line, for example:composer require typo3/cms-form:^8.7.40
Affected
>=9.0.0 <9.5.25
Fixed in
9.5.25
Update to the fixed version for your release line, for example:composer require typo3/cms-form:^9.5.25
Affected
>=10.0.0 <10.4.14
Fixed in
10.4.14
Update to the fixed version for your release line, for example:composer require typo3/cms-form:^10.4.14
Affected
>=11.0.0 <11.1.1
Fixed in
11.1.1
Update to the fixed version for your release line, for example:composer require typo3/cms-form:^11.1.1
Affected
>=10.0.0 <10.4.14
Fixed in
10.4.14
Update to the fixed version for your release line, for example:composer require typo3/cms-core:^10.4.14
Affected
>=11.0.0 <11.1.1
Fixed in
11.1.1
Update to the fixed version for your release line, for example:composer require typo3/cms-core:^11.1.1
Affected
>=9.0.0 <9.5.25
Fixed in
9.5.25
Update to the fixed version for your release line, for example:composer require typo3/cms-core:^9.5.25
typo3/cmsComposer
Affected
>=10.0.0 <10.4.14
Fixed in
10.4.14
Update to the fixed version for your release line, for example:composer require typo3/cms:^10.4.14
typo3/cmsComposer
Affected
>=11.0.0 <11.1.1
Fixed in
11.1.1
Update to the fixed version for your release line, for example:composer require typo3/cms:^11.1.1
typo3/cmsComposer
Affected
>=9.0.0 <9.5.25
Fixed in
9.5.25
Update to the fixed version for your release line, for example:composer require typo3/cms:^9.5.25

Details

Problem

Due to improper input validation, attackers can by-pass restrictions of predefined options and submit arbitrary data in the Form Designer backend module of the Form Framework.

In the default configuration of the Form Framework this allows attackers to explicitly allow arbitrary mime-types for file uploads - however, default _fileDenyPattern_ successfully blocked files like _.htaccess_ or _malicious.php_. Besides that, attackers can persist those files in any writable directory of the corresponding TYPO3 installation.

A valid backend user account with access to the form module is needed to exploit this vulnerability.

Solution

Update to TYPO3 versions 8.7.40, 9.5.25, 10.4.14, 11.1.1 that fix the problem described.

Credits

Thanks to Richie Lee who reported this issue and to TYPO3 contributor Ralf Zimmermann who fixed the issue.

References

Is GHSA-3vg7-jw9m-pc3f in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/cms-form, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.