{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-54128","id":"CVE-2024-54128","title":"Directus has an HTML Injection in Comment","description":"Directus is a real-time API and App dashboard for managing SQL database content. The Comment feature has implemented a filter to prevent users from adding restricted characters, such as HTML tags. However, this filter operates on the client-side, which can be bypassed, making the application vulnerable to HTML Injection. This vulerability is fixed in 10.13.4 and 11.2.0.","descriptionLong":"Directus is a real-time API and App dashboard for managing SQL database content. The Comment feature has implemented a filter to prevent users from adding restricted characters, such as HTML tags. However, this filter operates on the client-side, which can be bypassed, making the application vulnerable to HTML Injection. This vulerability is fixed in 10.13.4 and 11.2.0.","published":"2024-12-05T16:55:53.434Z","updated":"2026-10-28T02:30:33.400649179Z","reserved":"2024-11-29T18:02:16.753Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["directus"],"affectedProducts":[{"vendor":"directus","product":"directus","defaultStatus":null,"versions":[{"version":">= 10.10.0, < 10.13.4","status":"affected"},{"version":">= 11.0.0-rc.1, < 11.2.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@directus/app","purl":"pkg:npm/%40directus/app","ranges":[">=11.0.0 <13.3.1"],"fixed":["13.3.1"],"advisory":"GHSA-r6wx-627v-gh2f"},{"ecosystem":"npm","name":"directus","purl":"pkg:npm/directus","ranges":[">=10.10.0 <10.13.4",">=11.0.0-rc.1 <11.2.2"],"fixed":["10.13.4","11.2.2"],"advisory":"GHSA-r6wx-627v-gh2f"}],"cwes":["CWE-80"],"aliases":["GHSA-r6wx-627v-gh2f"],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-r6wx-627v-gh2f","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54128.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-54128","tags":["advisory"]},{"url":"https://github.com/directus/directus/commit/4487fb18d5cb09e071b111d2dc0c9d6bcb437633","tags":["web"]},{"url":"https://github.com/directus/directus/commit/c89dbb233fbad2fd0cf41eb99d50c6de4e84195d","tags":["web"]},{"url":"https://github.com/directus/directus","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00365,"epssPercentile":0.30946,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-54128","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-54128","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-54128","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r6wx-627v-gh2f","ok":true,"note":"GHSA-r6wx-627v-gh2f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-54128","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}