Nette Database through 3.2.4 allows SQL injection in certain situations involving an untrusted filter that is directly passed to the where method. NOTE: the vendor's position is that this is intended behavior.
https://www.csirt.sk/nette-framework-vulnerability-permits-sql-injection.html