I am a physio and also do crossfit. I don't see any problems with the squats normally. If you have some specific biomechanical problem that is causing pain as you do them then this may need addressing. Or you may just have to do squats that are not quite so deep and gradually increase the depth you go as you get stronger and more supple. Maybe get a second opinion.