I’m not an electrician. If it were my house, I’d not worry much. It should be secured to the wall so it doesn’t get torn out next time the stove is moved. Shut off breaker for stove, open plastic casing of plug, put two screws through metal backing of plug into wall along the bottom 1 1/2” to hit wood, and reassemble. It looks like you should be able to lay the plug horizontally to either the left or right of where the wire comes out of the wall, so choose whichever direction lets you plug the stove back in easiest.