
Cors Cross Origin Misconfiguration
This is a systematic playbook for catching CORS misconfigurations that let attackers read authenticated API responses from a victim's browser. It covers the usual suspects: reflected origins, null origin acceptance, weak regex allowlists, and the missing Vary header that can poison CDN caches. The null origin exploitation via sandboxed iframes is especially clean, and the subdomain XSS to CORS chain section shows how a single XSS on blog.target.com can break into api.target.com if the allowlist trusts *.target.com. Load this when you see Access-Control headers in responses or need to test whether browser-based attacks can exfiltrate sensitive data cross-origin. The regex bypass table alone will save you time.
- skills.sh installs
- 3.9K
- GitHub stars
- 2.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yaklang/hack-skills --skill cors-cross-origin-misconfiguration --agent claude-codeInstalls into .claude/skills of the current project.
Files
SKILL: CORS Misconfiguration — Credentialed Origins, Reflection, and Trust Boundary Errors
AI LOAD INSTRUCTION: Use this skill when browsers can access authenticated APIs cross-origin. Focus on reflected origins, credentialed requests, wildcard trust, parser mistakes, and origin allowlist bypasses. For JSONP hijacking deep dives, same-origin policy internals, honeypot de-anonymization, and CORS vs JSONP comparison, load the companion SCENARIOS.md.
Extended Scenarios
Sponsors
Details
- Repository
- github.com/yaklang/hack-skills
- Categories
- Testing & QA, Automation & Workflows
- First seen
- May 16, 2026
More from yaklang/hack-skills
All 102- Ios Pentesting Tricks3.9K
- Injection Checking3.9K
- Recon For Sec3.9K
- Llm Prompt Injection3.9K
- Heap Exploitation3.9K
- Csrf Cross Site Request Forgery3.9K
- Business Logic Vuln3.9K
- Traffic Analysis Pcap3.9K
- Oauth Oidc Misconfiguration3.9K
- Anti Debugging Techniques3.9K
- Binary Protection Bypass3.9K
- Cmdi Command Injection3.9K
- Path Traversal Lfi3.9K
- Ssti Server Side Template Injection3.8K
- Graphql And Hidden Parameters3.8K
- Kernel Exploitation3.8K
- Race Condition3.8K
- Xxe Xml External Entity3.8K
- Deserialization Insecure3.8K
- Request Smuggling3.8K
- File Access Vuln3.8K
- Format String Exploitation3.8K
- Http Parameter Pollution3.8K
- Csp Bypass Advanced3.8K