Antibacterial sealing foam