Salicylic acid while pregnant??

Ok I’m a first time mother and I was reading pregnancy articles and apparently salicylic acid isn’t safe to use while pregnant?!? Literally all of my OTC face washes include it. Does anyone have knowledge of this??