SAN FRANCISCO — Yelp has suffered some poor reviews in court this year. For a company used to getting its way with judges, that could be a bad sign.

Despite persistent complaints from small businesses, the review website for years has fended off litigation over its user-generated content. Suits contending the company fails to remove fraudulent reviews or requires businesses to buy advertising to rid themselves of negative posts have gone nowhere.