It happened just before 7:30 p.m. Monday near 57th Street and 9th Avenue in Borough Park.
Police say the boys were playing with fireworks, despite being told not to, when the incident happened.
An 11-year-old boy suffered injuries to his chest and hand and officials say he lost a few fingers.
A 13-year-old boy suffered wounds to his face and eye.
Both boys were taken to local hospitals and are expected to be OK.
No charges have been filed.
ALSO READ | People injured by illegal fireworks in Brooklyn park
People injured by July 4th fireworks in Greenpoint, Brooklyn
----------
* More Brooklyn news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube