GIAC
GWAPT · Question #26
GWAPT Question #26: Real Exam Question with Answer & Explanation
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
Community Discussion
No community discussion yet for this question.