I was concerned of this too when I first started hunting bears (and am still mindful of it). I've heard horror stories of bear meat with a rancid smell and essentially not edible. I've also seen videos of bears with worms hanging out of their butts that would certainly deter me from wanting to hunt bears again.
However, none of the above has been my personal experience. I'm not saying it can't happen in Pennsylvania (or other east coast states), just saying it is not my experience. The PA bears have a heavy diet of berries, nuts, bark, leaves, etc. The majority of places we hunt are fairly far removed from human populations and such garbage and human wastes aren't really a part of their diet. Additionally, the bears don't have an enormous population of fish to be feasting on. Sure - they'll eat what they can get when they can including carrion, but it is my understanding that is very far in the minority column in our state with the abundance of vegetation to keep them happy. PA has done extreme work to build up our woods and create habitats that sustain mast bearing trees. Bears have an overwhelming amount of acorns, hickory / walnut / beech nuts, etc. to feast upon, along with barks, blue berries, black berries, etc.
My family has had our fair share of PA bear meat over the years - whether the bear I took or shared by other hunters from our group - and I'm of the position that I won't turn it down. My wife says it is her favorite meat of all the various game animals that we have taken of the years (moose, elk, whitetail, etc.).
We cook it well done, I temperature probe it every time, and we enjoy.
Again - just my experience with PA black bears.