JavaScript Lessons
Filters (1)
javascriptNEW
XXE - XML external entity injection
Learn how an XXE attack works, and how to mitigate and fix the XXE vulnerability with real-world examples from security experts.
javascriptNEW
Cross site request forgery
Learn how a cross site request forgery (CSRF) attack works, and how to detect and fix it with real-world examples from security experts.
javascript
DOM XSS
Learn how DOM based XSS exploits work, and how to mitigate and remediate the vulnerability with step by step interactive tutorials from security experts.
javascript
Open redirect
Learn about the risks of exposing open redirects, how to exploit them and how to mitigate them.
javascript
Server-side request forgery
Learn how to protect your code from server-side request forgery attacks in JavaScript by exploiting a vulnerable web app as part of this Snyk Learn tutorial.
javascript
Code injection
Learn how to protect your applications against malicious code injection in JavaScript by exploiting a vulnerable web app as part of this Snyk Learn lesson.
javascript
Cross-site scripting
Learn how to protect your JavaScript code from various forms of cross-site scripting (XSS) attacks.
javascript
Directory traversal
Learn how to protect your code from directory traversal in JavaScript by exploiting a vulnerable web server.
javascript
Prototype pollution
Learn what JavaScript prototype pollution is and how to prevent it.
javascript
SQL injection
Learn how to create SQL queries securely and avoid SQL injections attempts by malicious third parties.