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 7)

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 31–35

  1. 31foundation · easy

    Which of the following is a potential impact of a successful XSS attack?

    Select an answer first
  2. 32application · medium

    A web application allows users to upload profile pictures. A penetration tester discovers that the application is vulnerable to CSRF on the profile-picture upload endpoint. Which of the following is the most effective mitigation that does not break the upload functionality?

    Select an answer first
  3. 33application · medium

    A tester is assessing a single-page application that uses a JavaScript framework. They find that the application uses `v-html` (Vue.js) to render user comments. Which of the following is the most likely impact of this finding?

    Select an answer first
  4. 34expert · hard

    A web application uses SameSite=Lax on its session cookie and anti-CSRF tokens on all state-changing forms. However, a penetration tester finds that the application has a stored XSS vulnerability on a subdomain that shares the parent domain. Which of the following is the most likely impact of this finding?

    Select an answer first
  5. 35application · medium

    A web application uses a client-side JavaScript function to read a URL parameter and set the innerHTML of a div element. A tester discovers that the parameter value is not sanitized. Which type of vulnerability is this, and what is the primary difference from a server-side injection?

    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.