Because of wiring safety codes getting a shock is rare. It is more likely to get a shock from a cooktop than from an oven. This is because the usual cause for shocks is cooking spillage like overflowing pasta water.
The cabinet of all appliances is carefully grounded and therefore very safe. The only way for a shock to occur is for a burner to be isolated from ground and electrify a cook pot. I have only seen this once when the socket was coated in grime.
Getting a shock means that the ground safety circuit is broken and must be repaired. This is the green or bare copper conductor in the supply circuit.