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-2018-19839 Vulnerability in maven package org.webjars.npm:node-sass
CVE-2019-1003097 Vulnerability in maven package com.ds.tools.hudson:crowd
CVE-2023-26115 Vulnerability in npm package word-wrap
CVE-2019-16540 Vulnerability in maven package org.jenkins-ci.plugins:support-core
CVE-2022-31160 Vulnerability in maven package org.webjars.npm:jquery-ui