Question 5 of 10Pro Only

How do you test for cross-site scripting (XSS) vulnerabilities, and what are the different types of XSS attacks?

Sample answer preview

Cross-site scripting, or XSS, is one of the most prevalent web security vulnerabilities. It occurs when an application includes untrusted data in its output without proper sanitization, allowing attackers to execute malicious scripts in other users' browsers.

XSSreflected XSSstored XSSDOM-based XSSscript injectioninput sanitization

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more QA / Test Engineer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime