Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-21355

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-21355
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:55 UTC · Revision 1

Source evidence

CVE-2021-21355

core-osv · Original source

Published 23 Mar 2021, 02:15 UTC

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.

osv:CVE-2021-21355
Complete source record
{
  "id": "f9e80591a0d6343aca34dc7d1e7b34bf29daf3933cb780233c74a852a9c28b98",
  "url": "https://osv.dev/vulnerability/CVE-2021-21355",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-21355",
    "summary": "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.",
    "evidence": "osv:CVE-2021-21355",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-21355",
      "aliases": [
        "BIT-typo3-2021-21355",
        "CVE-2021-21355",
        "GHSA-2r6j-862c-m2v2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/TYPO3/typo3",
              "type": "GIT",
              "events": [
                {
                  "introduced": "41235ff8e38c6f3401df03ae8beddd62d662c525"
                },
                {
                  "fixed": "98b19b1727f002a9d20359f7c341c7981086989f"
                },
                {
                  "introduced": "c91b70e450c52d29ffb08115fffbb7832b15a330"
                },
                {
                  "fixed": "9f8b73eb73f0f9834979641c02708dc168e36eda"
                },
                {
                  "introduced": "6a5e2d4097ef0a0e3ea955af93cf83810d6fa234"
                },
                {
                  "fixed": "67471a2b5bf30acc0225fa0860e882c056c60547"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.5.25"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.4.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.0.0"
                      },
                      {
                        "fixed": "11.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v11.1.0",
            "v10.4.13",
            "v11.0.0",
            "v10.4.12",
            "v10.4.11",
            "v9.5.24",
            "v10.4.10",
            "v9.5.23",
            "v10.4.9",
            "v9.5.22",
            "v10.4.8",
            "v10.4.7",
            "v9.5.21",
            "v10.4.6",
            "v9.5.20",
            "v10.4.5",
            "v10.4.4",
            "v9.5.19",
            "v10.4.3",
            "v9.5.18",
            "v9.5.17",
            "v10.4.2",
            "v10.4.1",
            "v9.5.16",
            "v10.4.0",
            "v9.5.15",
            "v10.3.0",
            "v9.5.14",
            "v9.5.13",
            "v9.5.12",
            "v10.2.0",
            "v9.5.11",
            "v9.5.10",
            "v10.1.0",
            "v9.5.9",
            "v10.0.0",
            "v9.5.8",
            "v9.5.7",
            "v9.5.6",
            "v9.5.5",
            "v9.5.4",
            "v9.5.3",
            "v9.5.2",
            "v9.5.1",
            "v9.5.0",
            "v9.4.0",
            "v9.3.0",
            "v9.2.0",
            "v9.1.0",
            "v9.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21355.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/typo3/typo3",
              "type": "GIT",
              "events": [
                {
                  "introduced": "41235ff8e38c6f3401df03ae8beddd62d662c525"
                },
                {
                  "fixed": "98b19b1727f002a9d20359f7c341c7981086989f"
                },
                {
                  "introduced": "c91b70e450c52d29ffb08115fffbb7832b15a330"
                },
                {
                  "fixed": "9f8b73eb73f0f9834979641c02708dc168e36eda"
                },
                {
                  "introduced": "6a5e2d4097ef0a0e3ea955af93cf83810d6fa234"
                },
                {
                  "fixed": "67471a2b5bf30acc0225fa0860e882c056c60547"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.5.25"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.4.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.0.0"
                      },
                      {
                        "fixed": "11.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v11.1.0",
            "v10.4.13",
            "v11.0.0",
            "v10.4.12",
            "v10.4.11",
            "v9.5.24",
            "v10.4.10",
            "v9.5.23",
            "v10.4.9",
            "v9.5.22",
            "v10.4.8",
            "v10.4.7",
            "v9.5.21",
            "v10.4.6",
            "v9.5.20",
            "v10.4.5",
            "v10.4.4",
            "v9.5.19",
            "v10.4.3",
            "v9.5.18",
            "v9.5.17",
            "v10.4.2",
            "v10.4.1",
            "v9.5.16",
            "v10.4.0",
            "v9.5.15",
            "v10.3.0",
            "v9.5.14",
            "v9.5.13",
            "v9.5.12",
            "v10.2.0",
            "v9.5.11",
            "v9.5.10",
            "v10.1.0",
            "v9.5.9",
            "v10.0.0",
            "v9.5.8",
            "v9.5.7",
            "v9.5.6",
            "v9.5.5",
            "v9.5.4",
            "v9.5.3",
            "v9.5.2",
            "v9.5.1",
            "v9.5.0",
            "v9.4.0",
            "v9.3.0",
            "v9.2.0",
            "v9.1.0",
            "v9.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21355.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:40.504389734Z",
      "provider": "osv",
      "references": [
        "https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-2r6j-862c-m2v2",
        "https://packagist.org/packages/typo3/cms-form",
        "https://typo3.org/security/advisory/typo3-core-sa-2021-002"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "typo3:typo3",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "fixed": "8.7.40"
                  },
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "fixed": "8.7.40"
                  },
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "fixed": "8.7.40"
                  },
                  {
                    "introduced": "9.0.0"
                  },
                  {
                    "fixed": "9.5.25"
                  },
                  {
                    "introduced": "10.0.0"
                  },
                  {
                    "fixed": "10.4.14"
                  },
                  {
                    "introduced": "11.0.0"
                  },
                  {
                    "fixed": "11.1.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-21355",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442455,
  "published_at": "2021-03-23T02:15:12.627+00:00"
}