"Polyurethane foam is made of a combination of chemicals and other materials, including isocyanates, which are highly flammable. But when these chemicals are mixed in manufacturing, they become stable and non-reactive. This means that once the foam has been made, it is no longer flammable.
Regarding the safety of polyurethane foam, it is important to consider the material’s fire resistance degree. Polyurethane foam is typically rated Class 1, an A-level fire-resistance rating, which means it is highly resistant to fire and will not cause any significant damage to structural elements in the event of a fire.
Is Polyurethane Foam Safe
The answer is yes. Polyurethane foam is safe to use in your home and office. It is a non-toxic material that is flame-resistant and does not emit any harmful chemicals.
The foam is also hypoallergenic, making it a great choice for people with allergies and sensitivities."
https://firefighterline.com/is-polyurethane-foam-flammable/