200-201 · Question #353
What are two types of cross site scripting attacks? (Choose two.)
The correct answer is C. reflected D. stored. Reflected XSS: In a reflected XSS attack, the malicious script is injected into a web application and reflected back to the user as part of the request, often through URLs or input fields. The injected script is then executed within the victim's browser. Stored XSS: Stored XSS…
Question
What are two types of cross site scripting attacks? (Choose two.)
Options
- Adirected
- Bencoded
- Creflected
- Dstored
- Ecascaded
How the community answered
(27 responses)- A7% (2)
- C89% (24)
- E4% (1)
Explanation
Reflected XSS: In a reflected XSS attack, the malicious script is injected into a web application and reflected back to the user as part of the request, often through URLs or input fields. The injected script is then executed within the victim's browser. Stored XSS: Stored XSS, also known as persistent XSS, occurs when the malicious script is permanently stored on the target server, such as in a database or in user-generated content. When other users access the compromised data, the malicious script executes in their browsers.
Topics
Community Discussion
No community discussion yet for this question.