💉 SQL Injection & XSS Demo
Type classic SQL injection and XSS payloads into a fully sandboxed, client-side demo. Watch a vulnerable login query get bypassed and unescaped markup render, then flip to parameterized queries and HTML-escaping to see the same input made harmless.
About This Demo
SQL injection and cross-site scripting are the two longest-running entries on the OWASP Top-10 list of web application risks. Both share the same root cause: untrusted input is treated as trusted code. This simulation never touches a real server, database, or script engine — it reconstructs the vulnerable and secure code paths as plain, visible JavaScript so the mechanism, not just the outcome, is observable.
A fully sandboxed, client-side demo of SQL injection and cross-site scripting — watch a vulnerable login query get bypassed, then flip to parameterized queries and HTML-escaping to see the fix.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install