Lesson Plan Title: How to Perform Stored Cross Site
Scripting (XSS)
Concept / Topic To Teach:
It is always a
good practice to scrub all inputs, especially those inputs that will later be
used as parameters to OS commands, scripts, and database queries. It is
particularly important for content that will be permanently stored somewhere.
Users should not be able to create message content that could cause another
user to load an undesirable page or undesirable content when the user's message
is retrieved.
General Goal(s):
The user
should be able to add message content that cause another user to load an
undesirable page or content.
Figure 1 Lesson 14
Solution:
Enter this: <script language=”javascript” type=”text/javascript”>alert(‘Ha Ha Ha’);</script> in the message text box.
Figure 2 Stored message
Figure 3 Lesson 14 Completed
Solution by Erwin Geirnaert | ![]() |