Which languages are vulnerable to Cross Site Scripting attacks ?
-
Java
-
ASP.Net
-
Perl
-
All of the above
D
Correct answer
Explanation
Cross-Site Scripting (XSS) is a vulnerability that can affect ANY web programming language, not just specific ones. XSS occurs when applications output user-supplied data without proper encoding or validation, allowing malicious scripts to run in victims' browsers. Options A, B, and C are all vulnerable to XSS - the issue is how the language is used, not the language itself. All web frameworks need XSS defenses.