CORS misconfiguration letting any origin through
a pentest found our API reflects the Origin header into Access-Control-Allow-Origin and sets Access-Control-Allow-Credentials: true. so any site can make credentialed requests. this is a real vuln right? what's the correct fix for a SPA on a different domain?
4 replies