
Turning JavaScript Error Handling into XSS
An injection in a comment placed after a throw statement looked unreachable. A hoisted function named Error made it run anyway.

An injection in a comment placed after a throw statement looked unreachable. A hoisted function named Error made it run anyway.

A sanitized name field, a 20-character limit and a WAF stood in the way. A chain of bypasses turned it into one-click account takeover.

Two ordinary features, combined, became an oracle that revealed the phone number of almost any user on a large social platform.

Blind XSS, SQL injection, weak admin credentials and a local file read that ends in remote code execution: findings from auditing my university's web applications.

A Client-Side Path Traversal and a Cache Deception had no impact on their own. Chained together, they led to account takeover.