There are many bad advertisements that can trigger a warning. So far there are few to no virus for routers so that's a dead end.

About all that I've seen is a DNS HIJACK but with thousands of router models there is no easy way to assure such a virus would propagate so my bet is bad ad on a web site.