See more of my cybersecurity lecture videos here: https://www.handsonsecurity.net/video.html.
This lecture covers how the cross-site scripting (XSS) attack works, and how to defend against this type of attack. See Chapter 11 of my book https://www.handsonsecurity.net/ for detailed explanation. To get a first-hand experience on this attack, you can work on this lab exercise that we have developed: https://seedsecuritylabs.org/Labs_16.04/Web/Web_XSS_Elgg/.