Cross-Site Scripting Scan: What This StackShield Check Runs

Crawls the site and tests every parameterised URL for reflected and DOM cross-site scripting using katana and dalfox. Requires domain verification.

application security Medium fix 1-3 hours

What This Check Detects

Crawls the site and tests every parameterised URL for reflected and DOM cross-site scripting using katana and dalfox. Requires domain verification.

Full Documentation

What this check runs

This check crawls your site with katana to discover URLs that take parameters, then runs dalfox against each one. dalfox injects cross-site scripting payloads into every parameter and watches for them to come back unencoded, confirming the serious ones by executing the page in a headless browser.

The crawl stays on your hostname and is capped in depth and size, so the scan is a sample of your most reachable pages rather than an exhaustive sweep.

Why it matters

Cross-site scripting lets an attacker run their own script in your users' browsers, with your users' sessions. From there they can steal credentials, read private pages and change what the page shows. It remains one of the most common web vulnerabilities because it hides in every place user input is echoed back.

What the findings mean

Findings are rated by how sure the scanner is. A verified finding executed in a browser and is exploitable: fix it first. A reflected finding means the input came back into the page unencoded and is very likely exploitable. A pattern finding means a payload fragment was echoed back; confirm it by hand.

The fix is the same in every case: encode output for the context it lands in, keep your template engine's escaping on, and deploy a Content-Security-Policy that blocks inline scripts. See how to fix this.

Related Security Checks

Free security check

Is your Laravel app exposed right now?

34% of Laravel apps we scan have at least one critical issue, and most teams do not find out until something breaks. The free scan checks your live app in 60 seconds. Then StackShield re-runs every check after each deploy, so a fix you ship today does not quietly regress next week.

18% have debug mode on
72% missing security headers
12% have exposed .env
Scan My App Free No signup for the scan. Continuous monitoring on a 14-day trial, no card.