# Chi Permissive CORS - ID: go-chi-permissive-cors - Severity: MEDIUM - CWE: CWE-942 (CWE-942) - Languages: Go - Frameworks: chi ## Description Wildcard CORS allows any origin to access resources. ## Remediation Specify allowed origins instead of wildcard. ```go r.Use(cors.Handler(cors.Options{ AllowedOrigins: []string{ "https://example.com", "https://app.example.com", }, })) ``` Learn more: https://shoulder.dev/learn/go/cwe-942/cors ## Related Rules - **FastAPI CORS Misconfiguration** [MEDIUM]: - **Flask CORS Misconfiguration** [MEDIUM]: - **Echo Permissive CORS** [MEDIUM]: - **Fiber Permissive CORS** [MEDIUM]: - **Gin Permissive CORS** [MEDIUM]: