I'm not really sure if it's completely right but I was taught that light can travel without a medium because light is composed of quanta called photons, and since it is a property of photons that they don't require a medium of transmission
( sorry if that doesn't make sense )