Hi samsung1,
Yes, avast has excellent detection for these kind of website issues. Website security is important because it could put so many visitors of an infested website at risk. Thanks for reporting here, and welcome to the avast support forums,
polonus