There is no problem using an anonymous source.
When a major story is published by a media outlet using an anonymous source, typically a second media outlet will attempt to verify the story using their sources. It is actually the independent verification of the story by the second, third, fourth group that provides the credibility.
This is what you need to pay attention to. This happens all of the time in mainstream media. Not so much with fox news.