Question
In the context of Cross-Site Scripting (XSS), what is
the primary reason why stored XSS is considered more dangerous than reflected XSS?Solution
Stored XSS, also known as persistent XSS, is more dangerous because the malicious script is stored permanently on the target server, such as in a database or a message board. When users access the vulnerable page, the script is automatically executed in their browsers without any further user interaction. This allows attackers to exploit a larger number of users, often without their knowledge. In contrast, reflected XSS requires users to interact with a specially crafted link, limiting the scope of the attack. Why Other Options are Incorrect: A) Stored XSS is harder to detect during code review: This is not necessarily true; both types of XSS can be detected through code review with proper attention to input validation. C) Reflected XSS only affects users who directly interact with malicious links: While true, it does not explain why stored XSS is more dangerous. D) Stored XSS bypasses the need for user interaction entirely: This is partially correct but does not fully capture the main reason why stored XSS is more dangerous (automatic execution on page load). E) Stored XSS can directly exploit server vulnerabilities: Stored XSS exploits client-side vulnerabilities rather than directly targeting the server.
In the following questions, sentences are given with a part in bold. The given phrase in bold may or may not contain an error. If a phrase has an error...
Select the option that will improve the bold part of the given sentence. In case no improvement is needed, select 'No improvement required'.
The ...
The company intending in grab as large a slice of the Chinese market as possible.
Substitute the bold words with the best option to improve the sentence.
As soon as he arrived home he knew that there was some wrong.
Of the four given options, choose the most appropriate one.
Select the most appropriate option that can substitute the bold segment in the given sentence. If there is no need to substitute it, select ‘No substi...
A callous system generates nothing but a misanthrope.
Speaker of the Lok Sabha said that unlike the House was in order he would not allow a discussion.
The biggest movement to protect Kannada learning dates back to the 1980s, when the Gokak Committee submitted its report in 1981 that recommended, again...
People living in the six disputed areas should being allowed to choose where they want to live.