Cross-site scripting, or XSS, happens when your app takes text from one user and shows it to another user in a way the browser runs as code. XSS testing means finding every place that can happen. The fix rests on one…
Web security
70 posts
Mass assignment happens when an API takes the fields a client sends and writes them straight into a database record. It is one of the quietest bugs in web apps. Nothing crashes. Nothing looks wrong in the logs. A user…
An open redirect lets a link that starts with your trusted domain send users somewhere you never intended. Open redirect testing means checking every redirect link in your app, looking past the obvious login flow,…
Clickjacking is an attack where another site loads your page inside an invisible frame, puts its own bait on top, and tricks your user into clicking your real buttons. You can check whether your app can be framed with…
Your user is signed in to your app in one tab. In another tab, they open a page that quietly submits a form to your app. Their browser sends the session cookie along, and your app changes their email address. That is…
Server-side request forgery (SSRF) happens when your app fetches a URL that someone else chose. That one feature can turn your server into a doorway to your private network. SSRF testing means finding every place your…
Log injection is what happens when text someone types into your app lands in a log file and changes what the log appears to say. One crafted username can add a fake "login succeeded" line, bury a real attack, or garble…
A CORS misconfiguration usually starts with a red error in the browser console. Someone searches the message, finds a line that makes it go away, and ships it. The error is gone, but the API may now let any website read…
If you want to prepare for a penetration test, the most useful work happens before the testers touch your app. A penetration test is a security test where someone tries to find and prove weaknesses in your system, with…
Broken access control is when your app lets a signed-in user see or change something that belongs to someone else, or reach a feature meant for a different role. It is the most common serious flaw in web apps, and it is…