Players that are not opped are still able to run the /rotate command. Even though selectors are not available in OP level 0, this still seems unintentional.
How to reproduce:
Create a new survival world without enabling cheats
Try to run the
/rotatecommand/rotate <playername> ~40 ~❌ You are rotated
Walk up to a mob to autocomplete its UUID to try to rotate it
/rotate <uuid> facing entity <playername>❌ The mob is rotated to face towards you
This even works on other players
Can confirm