QuestionQ77

VerifiedSoftware Development Security

Which of the following techniques enables an attacker to inject malicious data into a website?

Explanation

Cross-site scripting (XSS) is an attack technique in which an attacker injects malicious script or data into a trusted website (for example, through input fields, comments, or URL parameters) so that it is executed or rendered in other users' browsers. This exploits insufficient input validation/output encoding on the site, allowing the attacker's payload to be delivered as part of legitimate web content, distinguishing it from benign scripting techniques like inline or client-side scripting, which are normal web development practices, and PowerShell scripting, which is a Windows automation tool unrelated to web input attacks.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!