What mediates the attractive force that allows electrons to form Cooper pairs despite their natural repulsion?

Answer

Interaction with the crystal lattice via lattice vibrations (phonons).

The attraction is mediated by the crystal lattice; an electron slightly deforms the lattice, creating a region of positive charge that then attracts a second electron, binding them via phonons.

What mediates the attractive force that allows electrons to form Cooper pairs despite their natural repulsion?
resistanceMaterialquantumzerosuperconductor