vetkit.rust.cors.permissive-with-credentials
CORS accepts any origin together with credentials. Any website can then make authenticated requests on behalf of a signed-in user and read the responses.
Last updated:
Suite: Security
rust
CORS accepts any origin together with credentials. Any website can then make authenticated requests on behalf of a signed-in user and read the responses.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
List trusted origins explicitly (allowed_origin / AllowOrigin::list) when credentials are allowed.
References
Source: packages/engine/rules/sast/rust.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.