The force of the blast caused structural damage to the internal walls of the upstairs room that the girls were in at the time.
In the wake of the explosion, the chief fire office for Louth County Council, Eamon Woulfe, has reminded young people of the dangers that aerosols can pose.
“There are serious risks if they are misused. We would always advise people to keep any naked flame away from any spray from an aerosol,” Mr Woulfe said.
The house in Drogheda, Co Louth, where the accident occurred is the home of one of the girls caught up in the explosion.
Three of her friends had joined the girl in her bedroom when the accident happened at about 4.20pm on Sunday.
The source of the flame that caused the explosion is unclear.
Gardaí are investigating the incident but it is not a criminal inquiry.
The girls are believed to be in a stable condition in Tallaght and Crumlin hospitals.