You will be able to heat up mayonnaise without having to worry about it spoiling. There are many different recipes that actually call for mayonnaise to be put in the oven as a glaze so you will be able to confidently heat it up for whatever type of dish you are making. With the mayonnaise that you buy from the store you do not have to be extremely careful, simply because of the fact that it is PH balanced as well as preserved to perfection and pasteurized.
Although contamination of the mayonnaise is possible, it is highly unlikely because of the fact that the expiration date is going to be so far out. It is however still important to store your mayonnaise properly so you can reduce the chances of getting sick from it. Even though the chances of this happening are very slim, it’s better to be safe than sorry.