The main problem, as I see it, is that it's near trivial to get a Coach Level 1 certificate (my mom could do it). This results in a lot of bad coaching, resulting in bad form, resulting in unneeded injuries. You could argue that an easy certificate makes it easier to open up a box. Interesting trade off.
There are plenty of crossfit boxes, although I do not know if this is a majority, that hire real weightlifting coaches.
I can't help but think that much of the hate crossfit gets is just some form of resentment. Barbell training used to be unique, now it's getting more popular, and people feel attacked on a personal level.
All that said, good coaching, especially with big weights, is very important. It's a shame not every crossfit box owner thinks that way. Some of the injuries are bad. https://medium.com/@ericrobertson/crossfits-dirty-little-sec...