public nuisance

Definition from Nolo’s Plain-English Law Dictionary

An activity or thing that affects the health, safety, or morals of a community. It is distinguished from a private nuisance, which harms only a neighbor or a few individuals. For example, a factory that spews out clouds of noxious fumes is a public nuisance, but playing drums at three in the morning is a private nuisance bothering only the immediate neighbors.

Definition provided by Nolo’s Plain-English Law Dictionary.