Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GIAC (SANS) logo

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

  1. 26foundation · easy

    How can an attacker use XSS to perform keylogging?

    Select an answer first
  2. 27expert · hard

    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
  3. 28application · medium

    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
  4. 29application · medium

    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
  5. 30foundation · easy

    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.