CVE-2026-15305: Typo3 Early Validator Registration

A validator is being registered or created inside the `initializeFormElement()` lifecycle hook. At this stage in the TYPO3 Form lifecycle, concrete form definition properties (such as `allowedMimeTypes`) have not yet been applied. This causes the validator to use default or incomplete data, completely bypassing intended security restrictions like server-side

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-15305-typo3-early-validator-registration --engine opengrep

Description

A validator is being registered or created inside the `initializeFormElement()` lifecycle hook. At this stage in the TYPO3 Form lifecycle, concrete form definition properties (such as `allowedMimeTypes`) have not yet been applied. This causes the validator to use default or incomplete data, completely bypassing intended security restrictions like server-side