CompTIA
SY0-701 · Question #542
While reviewing logs, a security administrator identifies the following code: Which of the following best describes the vulnerability being exploited?
The correct answer is A. XSS. The code snippet provided (<script>function (send_info)</script>) indicates the presence of a JavaScript function embedded within a webpage, which is typical of a cross-site scripting (XSS)
Submitted by priya_blr· Mar 6, 2026Threats, vulnerabilities, and mitigations
Question
While reviewing logs, a security administrator identifies the following code:
Which of the following best describes the vulnerability being exploited?
Options
- AXSS
- BSQLi
- CDDoS
- DCSRF
How the community answered
(32 responses)- A78% (25)
- B13% (4)
- C6% (2)
- D3% (1)
Explanation
The code snippet provided (<script>function (send_info)</script>) indicates the presence of a JavaScript function embedded within a webpage, which is typical of a cross-site scripting (XSS)
Community Discussion
No community discussion yet for this question.