Summary
To summarize, we learned that security issues can occur in any programming language; Python, JavaScript, and others can be laced with JavaScript security issues if we are not careful. We also showed that we need to be careful with the user input; escaping them is an important technique to prevent malicious JavaScript being executed.
In the next chapter, we will learn about the (almost exact) opposite of cross-site scripting: cross-site forgery.