Web Security: Some inputs to check for XSS issues

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


Some inputs to check for XSS issues, just for reference when I explain XSS and how it can be dangerous

  • <script>alert('XSS');</script>
  • '"--><img src=x onerror=alert('XSS')>
  • '><script>alert(0)</script>

Lessons in this unit:

0: Introduction
1: CSRF (Cross Site Request Forgery) tutorial
2: Cross Site Scripting (XSS) tutorial
3: SQL injection
4: JSON Web Token (JWT) explained
5: How to store passwords in the database
6: ▶︎ Some inputs to check for XSS issues