Cross-site Scripting(or XSS) occurs when ____.

Cross-site Scripting(or XSS) occurs when ____.



A) developers fail to properly validate user inputbefore using it to query a relational database.
B) there is a failure to handle errors
C) a user input is passed dirrectly to a compiler or interpreter
D) an application running on a web server gathers data from a user in order to steal it



Answer: D


Learn More :