An employee was completing a well intervention. The system encountered a gas pocket while circulating the well. The gas pocket was pumped from the well bore to the open top tank that was being used to circulate the well. An ignition occurred, resulting in a flash fire that caused first-degree burns to the employee's arms.