The default value for the CORS_ENABLED
and CORS_ORIGIN
configuration was set to be very permissive by default. This could lead to unauthorized access in uncontrolled environments when the configuration hasn't been changed.
The default values for CORS have been changed in https://github.com/directus/directus/pull/12022 which is released under 9.7.0
Configure the CORS environment variables to match your project's usage, rather than leaving them at the (permissive) defaults.
If you have any questions or comments about this advisory: * Open an issue in directus/directus * Email us at security@directus.io
{ "nvd_published_at": "2022-12-26T06:15:00Z", "cwe_ids": [ "CWE-942" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2022-04-05T18:31:22Z" }