Wiktionary
put one's foot in it
vb. (context idiomatic English) To make a mistake in public, or a social blunder, that is embarrassing, or offensive.