A web scripting virus is a computer virus designed to infect web pages and execute malicious code on the user’s computer when the infected web page is accessed. Web scripting viruses alter system settings and steal the target information.