Start learning 50% faster. Sign in now
A Cross-Site Scripting (XSS) attack involves injecting malicious scripts, typically JavaScript, into web pages that are later viewed by other users. This attack exploits vulnerabilities in web applications that fail to properly validate or sanitize user inputs. When a victim visits the compromised web page, the malicious script executes in their browser, potentially stealing sensitive data, hijacking sessions, or defacing websites. XSS is categorized into three types: reflected, stored, and DOM-based. Stored XSS is particularly dangerous because the malicious script is permanently stored on the server and served to multiple users. For instance, attackers might inject a script into a comment section of a blog, and every user viewing the comments becomes a victim. Proper input validation, output encoding, and Content Security Policy (CSP) implementation are essential defenses against XSS. Why Other Options Are Incorrect :
Choose the option that is the indirect form of the sentence.
Akshay said, “I am making biryani today.”
The teacher asked Avika what had happened to her and why her nose was bleeding.
Select the most appropriate indirect form of the given sentence.
Walter said to David, “ I am looking forward to tomorrow’s auction.”
Change into indirect speech
The mother said, "I did the work yesterday ."A
Select the most appropriate indirect form of the given sentence.
The teacher said to Mohit, “Go to your seat and sit quietly”
...Choose the option that is the indirect form of the sentence.
“Have you got a blue scarf”? the customer asked the assistant.
Choose the option that is the indirect form of the sentence.
Vandana said, “I’m being dropped to office today’’.
She ate the sweets greedily.
Select the most appropriate direct form of the given sentence.
She exclaimed that she looked very ugly in that dress.
The teacher said to his students, " Health is wealth, whatever you may say."