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/releases/tag/v9.7.0
https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822
https://github.com/directus/directus/pull/12022
https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md
Related Vulnerabilities
CVE-2021-29479 Vulnerability in maven package io.ratpack:ratpack-core
CVE-2015-3253 Vulnerability in maven package org.codehaus.groovy:groovy-all
CVE-2017-5645 Vulnerability in maven package org.apache.logging.log4j:log4j
CVE-2023-40351 Vulnerability in maven package org.jenkins-ci.plugins:favorite-view
CVE-2016-10573 Vulnerability in npm package baryton-saxophone