Cardboard is flammable so it is recommended to transfer food to a different, oven safe pan or dish.