At least three people were seriously injured in an explosion at a Brooklyn home Thursday night, fire officials said.