Compression oracle
When data is compressed before encryption, the ciphertext length tells an attacker whether their guess resembles the secret sitting next to it.
Encryption hides content but not length, and compression makes length a function of content. If an attacker can inject text that gets compressed alongside a secret — a cookie, a CSRF token — the output shrinks slightly whenever the guess repeats part of the secret. It's a chosen-plaintext attack where the measuring instrument is a ruler.
John Kelsey described the principle in 2002, and it then sat around waiting for someone to care. CRIME in 2012 used TLS compression to steal session cookies; BREACH in 2013 did the same through HTTP response compression. TLS compression was switched off everywhere. HTTP compression can't be dropped without making the web slow, so there the fix is to mask tokens with fresh randomness on every response.