Description
In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true.
Remediation
References
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md
https://github.com/directus/directus/pull/12022
https://github.com/directus/directus/releases/tag/v9.7.0
https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822