GIAC
GWAPT · Question #26
How can a web application developer prevent Reflected XSS vulnerabilities?
The correct answer is C. By encoding user input before displaying it. See the full explanation below for the reasoning.
Question
How can a web application developer prevent Reflected XSS vulnerabilities?
Options
- ABy using client-side validation only
- BBy encrypting session cookies
- CBy encoding user input before displaying it
- DBy disabling JavaScript
How the community answered
(43 responses)- A7% (3)
- B12% (5)
- C79% (34)
- D2% (1)
Community Discussion
No community discussion yet for this question.