The Short Version
The best evidence shows squats produced greater hypertrophy in the vastus lateralis (especially at a distal site) compared with leg extensions, while leg extensions favored rectus femoris. But this does not demonstrate greater hypertrophy across the whole “vastii” group (including vastus medialis/intermedius). The claim overstates the evidence.