Maybe I’m under-thinking this problem, but they couldn’t just break the window? Nobody wants to get hit with broken glass, but I’ll take some cuts over being burned alive.
Virtually all cars (except maybe Cybertrucks and armored vehicles) use tempered glass for side windows. This is how first responders do it. Sometimes, in roll-over and very bad accidents, the windshield or the back window have to be used, but this can take a lot more effort.