CompTIA
PT0-003 · Question #306
During a penetration test, a tester has confirmed stored XSS within a comment form on a site. Which of the following payloads is required to exploit the vulnerability and provide a reverse shell again
Sign in or unlock PT0-003 to reveal the answer and full explanation for question #306. The question stem and answer options stay visible for context.
Submitted by fatima_kr· Mar 6, 2026Attacks and Exploits
Question
During a penetration test, a tester has confirmed stored XSS within a comment form on a site. Which of the following payloads is required to exploit the vulnerability and provide a reverse shell against user browsers? IP>/?f'document.cookie+'"
Options
- BUse BeEF and insert payload
- DUse Metasploit post/firefox/gather/xss and insert payload
Unlock PT0-003 to see the answer
You've previewed enough free PT0-003 questions. Unlock PT0-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#XSS exploitation#BeEF#browser exploitation#client-side attacks