
GIAC Web Application Penetration Tester
Domain 5Objective 2
Cross Site Request Forgery, Cross Site Scripting and Client Injection Attack GWAPT Practice Questions (Page 6)
Part of the Injection and Client-Side Attacks domain, which makes up ~23% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 180-minute exam (~70–120 total, ~16–28 in this domain), expect 8–14 from this objective — we provide 54 practice questions to prepare you well beyond it. (estimate)
54questions here
11free pages
11concepts
Questions 26–30
- 26
How can an attacker use XSS to perform keylogging?
Select an answer first - 27
A security architect is designing CSRF defenses for a large application that uses multiple subdomains (e.g., app.example.com, api.example.com). The application uses SameSite=Lax cookies and anti-CSRF tokens. However, a penetration test reveals that a subdomain with a stored XSS vulnerability can be used to read the anti-CSRF token from the main application. Which additional control would BEST mitigate this risk?
Select an answer first - 28
A team is hardening a legacy web application that has multiple XSS vulnerabilities. They want to implement a strong defense-in-depth strategy without rewriting the entire application. Which combination of controls would provide the most comprehensive protection?
Select an answer first - 29
A development team is using a modern JavaScript framework (e.g., React) to build a web application. They want to prevent client-side injection vulnerabilities. Which practice is MOST effective when using the framework?
Select an answer first - 30
Which CSRF mitigation technique involves including a unique, unpredictable value in a hidden form field that the server validates?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GIAC (SANS). “GWAPT” is a trademark of its owner, used for identification only.