nerdexam
CompTIA

PT0-001 · Question #13

A penetration tester reviews the scan results of a web application. Which of the following vulnerabilities is MOST critical and should be prioritized for exploitation?

The correct answer is A. Stored XSS. Stored XSS is the most critical vulnerability because the malicious payload persists server-side and executes in every victim's browser, enabling large-scale session hijacking and credential theft.

Vulnerability discovery and analysis

Question

A penetration tester reviews the scan results of a web application. Which of the following vulnerabilities is MOST critical and should be prioritized for exploitation?

Options

  • AStored XSS
  • BFill path disclosure
  • CExpired certificate
  • DClickjacking

How the community answered

(44 responses)
  • A
    82% (36)
  • B
    2% (1)
  • C
    5% (2)
  • D
    11% (5)

Why each option

Stored XSS is the most critical vulnerability because the malicious payload persists server-side and executes in every victim's browser, enabling large-scale session hijacking and credential theft.

AStored XSSCorrect

Stored XSS is highest severity because the injected payload is permanently saved in the application data store and automatically executes in the browser of every user who loads the affected page. This persistent, self-propagating nature allows an attacker to hijack authenticated sessions, steal credentials, redirect users, or deliver malware at scale without further interaction. Its combination of high impact and broad reach makes it the top exploitation priority among the listed options.

BFill path disclosure

Full path disclosure reveals server directory structure and aids reconnaissance but does not directly enable code execution or data access on its own.

CExpired certificate

An expired certificate weakens transport security and generates user warnings, but it does not provide an attacker with a direct path to exploit the application.

DClickjacking

Clickjacking requires significant user interaction to trick a victim into unintended UI actions and has a far more limited impact than a persistent code-execution vulnerability like stored XSS.

Concept tested: Web vulnerability severity prioritization for exploitation

Source: https://owasp.org/www-community/attacks/xss/

Topics

#stored XSS#web application security#vulnerability prioritization#OWASP

Community Discussion

No community discussion yet for this question.

Full PT0-001 Practice