Isn't paracetamol forbidden in the US for pregnant women already? It is in other countries
That doesn't make it very safe, but NSAIDs carry well known risks during later stages of pregnancy, and opiods aren't exactly harmless either. Even aspirin carries risk (and aspirin doesn't even work as well compared to other drugs).
As far as I can tell paracetamol is still the first choice for painkillers while pregnant, but only because none of them are completely safe to use. It's probably fine for short term usage, but that also goes for non-pregnant people to be honest.
Ibuprofen is forbidden for pregnant women in the last 4 months in France at least - and by "forbidden", I mean "strongly advised against in a case of self medication".