The urorectal septum is an invagination of the cloaca. It divides it into a dorsal part (the hindgut) and a ventral part (the urogenital sinus). It invaginates from cranial to caudal, formed from the endodermal cloaca, and fuses with the cloacal membrane. Malformations can cause fistulas.