📞 0339-0387701 (WhatsApp) Contact

« Back to Information & Networking (NCCIA)

What is the difference between stored XSS and reflected XSS?

A. Stored XSS saves the script on the server for later victims; reflected XSS returns it immediately in a response ✅
B. Stored XSS affects only the server
C. They are the same
D. Stored XSS is harmless; reflected XSS is always fatal

Correct Answer: A. Stored XSS saves the script on the server for later victims; reflected XSS returns it immediately in a response

Explanation

Stored XSS persists in comments or posts, while reflected XSS needs a crafted link to trigger.