A Man-in-the-middle (MITM) attack is an attack where an attacker intercepts and relays communication between two parties without their knowledge. It allows the attacker to eavesdrop, manipulate, or inject malicious content into the communication flow.