The fire broke out just after midnight near Valley Boulevard and Almansor Street. It took firefighters 30 minutes to knock down the flames.
Three victims were taken to a nearby hospital with serious injuries. The fourth person was treated at the scene for minor injuries.
The cause of the fire is under investigation.