The injury caused by a firework exploding while being held can have a devastating effect on the functional status of the hand. They include soft tissue injuries, fractures, burns and traumatic amputations in addition to disruption of the neurovascular supply. Injured patients often report that the fuse simply burned too quickly and ignited the device before the device could be released or thrown.
I don't think they'll be able to save that hand.