Avoid wildcard CORS allow-origins
Spring `@CrossOrigin("*")`, `allowedOrigins("*")`, and `addAllowedOriginPattern("*")` open the API to any origin.
#Metadata
#Why it matters
Wildcard origins disable browser-enforced same-origin protection and can allow untrusted sites to call the API with credentials.
#Remediation
Allow only the specific origins your service trusts; never combine `allowCredentials(true)` with a wildcard origin.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/java/java.security.permissive-cors.rule.yaml.