I think the chance of it coming loose is low because it has good sticking ability, but never tried to stick to foam.