Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.cors.wildcard-with-credentials

CORS allows any origin together with credentials. The middleware then echoes the caller's Origin, so every website can read authenticated responses.

Last updated:

Suite: Security

python

CORS allows any origin together with credentials. The middleware then echoes the caller's Origin, so every website can read authenticated responses.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

List the trusted origins explicitly when credentials (cookies) are allowed.

References

Source: packages/engine/rules/sast/python.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.