tubeshowcase●1,059,698 videos♡ My collection 0
← Learn to Code

Learn to Code04:56

How To Prevent The Most Common Cross Site Scripting Attack

Web Dev Simplified ↗

From the creator

Cross site scripting is one of the most common ways that a hacker will attempt to infiltrate a website. There are many different forms of cross site scripting, but the most common cause of cross site scripting is using the JavaScript method innerHTML with user input. Any form of user input must be escaped before being used with innerHTML, and any use of innerHTML should be thoroughly thought out to ensure no user input can make it through without being sanitized. It is such an easy mistake to make, but luckily the fix is also just as easy. Cross Site Scripting Article: https://blog.webdevsimplified.com/2020-09/javascript-xss CodePen For This Video: https://codepen.io/WebDevSimplified/pen/xyRGxw Twitter: https://twitter.com/DevSimplified GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified #XSS #WebDevelopment #Programming

Published 2018-10-11 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code