# Echo Permissive CORS - ID: go-echo-permissive-cors - Severity: MEDIUM - CWE: CWE-942 (CWE-942) - Languages: Go - Frameworks: echo ## Description Wildcard CORS allows any origin to access resources. ## Remediation Specify allowed origins instead of wildcard. ```go e.Use(middleware.CORSWithConfig(middleware.CORSConfig{ AllowOrigins: []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]: - **Chi Permissive CORS** [MEDIUM]: - **Fiber Permissive CORS** [MEDIUM]: - **Gin Permissive CORS** [MEDIUM]: