A teenager was badly burned while taking a shower because the water temperature was set at an unsafe level.