How well do YOU know XSS and how to defend against it? Let's give that a test!
Content Transport Policy
Strict Content Policy
Content Security Policy
Content Policy Security
Rate this question:
JSON parsing plugin
JavaScript: JSON.parse
JavaScript: eval()
JavaScript: innerHTML()
Server-side outbound JSON validation
Rate this question:
Input Validation
Output Encoding
Cryptographic Tokens
Rate Throttling
Rate this question:
File upload input
Validating a username
HTML Sanitization
Validating untrusted JSON
Validating a user's age
Rate this question:
InnerHTML()
Eval()
Alert()
SetTimeout()
Text()
All of the above
Rate this question:
Quiz Review Timeline (Updated): Mar 20, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.