nerdexam
GIAC

GPEN · Question #425

Which type of Cross-Sire Scripting (XSS> vulnerability is hardest for automated testing tools to detect, and for what reason?

The correct answer is A. Stored XSS. because it may be located anywhere within static or dynamic sitecontent. Stored XSS (persistent XSS) is the hardest for automated tools to detect because the malicious payload is saved server-side (database, file system) and may be rendered anywhere across the application - in user profiles, comment threads, admin panels, or third-party…

Web Application Penetration Testing

Question

Which type of Cross-Sire Scripting (XSS> vulnerability is hardest for automated testing tools to detect, and for what reason?

Options

  • AStored XSS. because it may be located anywhere within static or dynamic sitecontent
  • BStored XSS. because it depends on emails and instant messaging systems.
  • CReflected XSS. because It can only be found by analyzing web server responses.
  • DReflected XSS: because it is difficult to find within large web server logs.

How the community answered

(60 responses)
  • A
    83% (50)
  • B
    3% (2)
  • C
    3% (2)
  • D
    10% (6)

Explanation

Stored XSS (persistent XSS) is the hardest for automated tools to detect because the malicious payload is saved server-side (database, file system) and may be rendered anywhere across the application - in user profiles, comment threads, admin panels, or third-party integrations. Automated scanners work by injecting test payloads and immediately checking whether the payload appears in the HTTP response to that same request. With stored XSS, the payload is stored silently, then rendered to a different user, on a different page, or under conditions the scanner never encounters - breaking the injection-to-reflection feedback loop the scanner relies on. Reflected XSS, by contrast, echoes the payload directly in the server's response to the same request, making it straightforward for automated tools to detect.

Topics

#stored XSS#reflected XSS#automated scanning#XSS detection

Community Discussion

No community discussion yet for this question.

Full GPEN Practice