# CVE-2021-21357: Broken Access Control in Form Framework

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.61% (percentile 76, 2026-11-28)
- **CWE:** CWE-20, CWE-22, CWE-434
- **Aliases:** BIT-typo3-2021-21357, GHSA-3vg7-jw9m-pc3f
- **Published:** 2021-03-23T01:50:23.000Z
- **Modified:** 2026-07-08T06:28:31.297Z

## Who should check

- Projects that depend on Packagist package typo3/cms-form (\>= 8.0.0, \< 8.7.40)
- Projects that depend on Packagist package typo3/cms-core (\>= 10.0.0, \< 10.4.14)
- Projects that depend on Packagist package typo3/cms (\>= 10.0.0, \< 10.4.14)
- Anyone running 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

## 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 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. This is fixed in versions 8.7.40, 9.5.25, 10.4.14, 11.1.1.

## Affected and fixed versions

- Packagist `typo3/cms-form`: affected \>= 8.0.0, \< 8.7.40; fixed 8.7.40, 9.5.25, 10.4.14, 11.1.1 (osv)
- Packagist `typo3/cms-core`: affected \>= 10.0.0, \< 10.4.14; fixed 10.4.14, 11.1.1, 9.5.25 (osv)
- Packagist `typo3/cms`: affected \>= 10.0.0, \< 10.4.14; fixed 10.4.14, 11.1.1, 9.5.25 (osv)
- 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 (cvelist)

## Mitigation

- Upgrade typo3/cms-form to one of 8.7.40, 9.5.25, 10.4.14, 11.1.1 (or later in the same release line).
- Upgrade typo3/cms-core to one of 10.4.14, 11.1.1, 9.5.25 (or later in the same release line).
- Upgrade typo3/cms to one of 10.4.14, 11.1.1, 9.5.25 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-21357. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-21357.md
Affected: typo3/cms-form >= 8.0.0, < 8.7.40; typo3/cms-core >= 10.0.0, < 10.4.14; typo3/cms >= 10.0.0, < 10.4.14
Fixed in: 8.7.40, 9.5.25, 10.4.14, 11.1.1

Steps:
1. Search this machine and project for typo3/cms-form (Packagist), typo3/cms-core (Packagist), typo3/cms (Packagist), TYPO3.CMS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-21357 being exploited?

There is no confirmed exploitation: CVE-2021-21357 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.61% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2021-21357?

High: CVSS 8.3 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2021-21357?

typo3/cms-form \>= 8.0.0, \< 8.7.40; typo3/cms-core \>= 10.0.0, \< 10.4.14; typo3/cms \>= 10.0.0, \< 10.4.14.

### Is there a fix for CVE-2021-21357?

Yes. Fixed in 8.7.40, 9.5.25, 10.4.14, 11.1.1. Upgrade typo3/cms-form to one of 8.7.40, 9.5.25, 10.4.14, 11.1.1 (or later in the same release line). Upgrade typo3/cms-core to one of 10.4.14, 11.1.1, 9.5.25 (or later in the same release line). Upgrade typo3/cms to one of 10.4.14, 11.1.1, 9.5.25 (or later in the same release line).

### How do I check if I'm affected by CVE-2021-21357?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-3vg7-jw9m-pc3f>
- vendor: <https://typo3.org/security/advisory/typo3-core-sa-2021-003>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-21357>
- other: <https://packagist.org/packages/typo3/cms-form>
- other: <https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21357.yaml>
- other: <https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21357.yaml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-21357>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-3vg7-jw9m-pc3f> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-21357> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-21357>
