You don't escape it. You navigate it.
Every juicy thing you share will reach the wrong person. Always. The half-life of office gossip is measured in days, not years.
Try this
If you'd be embarrassed for them to hear it — don't say it.