The U.K.'s National Health Service notes that salty foods can worsen cold sore symptoms. The AAD also reports this and recommends avoiding spicy and acidic foods, as well, while cold sores are present.