Auth & Client-Side Security
high Severity
Free Check

Form Security Analysis (Action URLs & CSRF)

Audits HTML forms for cross-origin submission targets, missing CSRF token protections, and insecure HTTP actions.

Test Your Website for Form Security Analysis (Action URLs & CSRF)

Run this check along with 90+ automated tests across your domain.

Why It Matters

Missing CSRF protections allow unauthorized cross-origin requests to submit actions on behalf of authenticated users.

How We Check This

We check form action targets for protocol matching and evaluate CSRF token inputs.

How to Fix & Implement

Copy-paste configuration blocks tailored for your web server or edge proxy.

nginx snippet
Ensure all forms submit to HTTPS endpoints on the same origin

Frequently Asked Questions

Does SameSite=Lax prevent CSRF?

SameSite=Lax blocks CSRF for POST and PUT requests, but CSRF tokens provide essential defense-in-depth.