RTUComputer ScienceYr 2024 · Sem 62024

Q6Information Security Systems

Question

2 marks

Describe a Cross-Site Scripting (XSS) attack.

Answer

XSS is a catastrophic web vulnerability where an attacker violently injects malicious client-side JavaScript into a trusted website, which is then unknowingly executed by victim browsers.

In a Cross-Site Scripting (XSS) attack, the hacker bypasses backend security by injecting raw JavaScript into a comment forum. When a legitimate user visits the forum, their browser downloads and violently executes the script, allowing the attacker to steal their secure session cookies and mathematically hijack their account.

Back to Paper