Is that sanitiser bottle safe for you to carry?

Recent incidents of sanitizer bottles heating up, when left in cars parked under the sun, have sparked a new debate on whether it’s a safety hazard to carry a sanitiser bottle in a car