
EC-CouncilWeb Application Hacking and Security
Domain 3Objective 3
DOM-based 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 32 practice questions to prepare you well beyond it. (estimate)
32questions here
7free pages
7concepts
Questions 1–5
- 1
Which of the following is a common DOM source that can be manipulated by an attacker to introduce untrusted data into a web page?
Select an answer first - 2
A developer is fixing a DOM-based XSS issue where `document.referrer` is written to the page using `document.write()`. The application must still display the referring URL to the user for analytics purposes. Which remediation approach is most effective while preserving the feature?
Select an answer first - 3
Which of the following is a realistic impact of a DOM-based XSS vulnerability in a banking application?
Select an answer first - 4
A QA engineer is tasked with testing a web application for DOM-based XSS. The application has a feature that reads a value from document.referrer and uses it to populate a search box. The engineer needs to test this vulnerability dynamically. Which approach is the most effective?
Select an answer first - 5
Which browser developer tool is most useful for tracing the flow of data from a DOM source to a sink during dynamic testing of a suspected DOM-based XSS?
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.