Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Tests web apps for Cross-Site Script Inclusion (XSSI) by checking if logged-in JavaScript, JSON and JSONP endpoints leak sensitive data.
91% 95%+5 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
An assessment reveals an endpoint delivering dynamic JavaScript containing user-specific authentication tokens when loaded with credentials. According to OWASP WSTG scoring guidelines, what severity level and CVSS score apply to authenticated JavaScript hijacking?
Assigns a CVSS score of 7.5
3 of 3 safety checks passed
WSTG-CLNT-13
Testing for Cross-Site Script Inclusion (XSSI)
Cross-Site Script Inclusion (XSSI) allows attackers to steal sensitive data by including a victim's JavaScript files as script sources from an attacker-controlled page. This exploits the fact that JavaScript files may contain sensitive user data and are not protected by Same-Origin Policy when loaded as scripts.
#!/bin/bash
TARGET="https://target.com"
# Find JavaScript endpoints
echo "[*] Finding JavaScript files..."
# Check for dynamic JS endpoints
curl -s "$TARGET" | grep -oP 'src="[^"]*\.js[^"]*"' | sort -u
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.