Language: PHP
Label: vulnerable
CWE: CWE-307 \u2014 Improper Restriction of Excessive Authentication Attempts
The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks.

Code:
    public function __construct(
        private readonly EntityManagerInterface $em,
        private readonly Adapters $adapters
    ) {
    }