We should agree there is a great difference between intentional and accidental offense. For example an accidental offense would be to use the name
"Almanzor/al-Manṣūr" for a character. In the real life it was it means "the victorious" and it was the nickname of a historical andaluci warlord, and a "very bad guy" in the eyes of the Christian Spanishs who suffered his
"aceifas"(razzias or raids). Or the pirates in a "1001 nights" adventure can be potentiallly controversial. Why? Because the Otoman corsairs attacked Christian coasts in the Mediterranean sea to catch slaves. A DM could search information about al-Andalus as source of inspiration for his next campaign, and he may find contradictory versions, one telling al-Andalus was a golden age of tolerance, but other saying this was a myth, and it was a aparheid-like regime for the "dhimmis" ("protected ones", Christians and Jews, the people of the Book).
Even when we are using fictional races as antagonists, for example the githyankis or evil genies as planar invaders, there are still some potential risks. Maybe is a story about vampires kidnapping children to be turned into wereboars to use their regenerative traits to "gather vitae", months laters in the real life there are news about traffick of human beings for slavery. Then this plot become taboo and an unconfortable threat.
* What can we do? WotC can publish corebooks focused more in the crunch and little details about the lore, almost only the names of places and rulers.
* The living idols could be interesting hook for adventures.