Take it from me that these are correct:
The flashpoint of Avgas is around -35C
The flashpoint of Mogas is around -40C
The flashpoint of Jet is minimum +38C and typically +38 to +43C
The flashpoint of Motor Diesel is minimum +60C, and typically +65 to +80C
Octane rating and cetane rating have no direct relationship to flashpoint
For all intents and purposes, there is no real difference in the "safety" of Avgas and Mogas, as both readily ignite at normal ambient temperatures