QuackatronHQ / Gigarepo

Overly permissive CORS policies are a security risk JAVA-S1000
Security
Critical
1 occurrence in this check
"*" will allow any domain to send a cross origin request to your server
 31        // For older browsers?
 32        c.setSecure(false);
 33        resp.addCookie(c);
 34        resp.setHeader("Access-Control-Allow-Origin", "*"); 35
 36        Boolean b = Boolean.parseBoolean(req.getParameter("winCondition"));
 37