This paper studies vertical foreclosure issue in platforms characterized by bilateral cross-group network externalities. I focus on an environment where the monopolistic platform and downstream sellers face uncertainty over the gains from trade at the contracting stage. As the random shock is non-contractible, contracting creates friction which distorts the platform's pricing structure. By contrast, vertical integration mitigates this problem by allowing the platform to incorporate the random shock in consumer pricing. Due to the interaction between transaction friction and cross-group network externalities, I find that vertical integration could reduce the platform's incentive of foreclosure.