security.misconfiguration

Do not reflect request origin into CORS policy

`Access-Control-Allow-Origin` should not be set from request-controlled input.

#Metadata

#Why it matters

Reflecting the request origin into a CORS allowlist turns origin validation into a no-op.

#Remediation

Set CORS origins from a fixed allowlist or explicit trusted origin check.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.security.insecure-allow-origin.rule.yaml.