{"id":"CVE-2024-54128","published":"2024-12-05T16:55:53Z","modified":"2024-12-06T15:56:34Z","title":"Directus has an HTML Injection in Comment","vendor":"directus","product":"directus","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00545,"percentile":0.39302,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-r6wx-627v-gh2f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":7.86},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":[">= 10.10.0, < 10.13.4",">= 11.0.0-rc.1, < 11.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-06T15:56:14.503876Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@directus/app","vulnerableRanges":[">=11.0.0, <13.3.1"],"patched":["13.3.1"],"from":["GHSA-r6wx-627v-gh2f"],"provenance":"source"},{"ecosystem":"npm","package":"directus","vulnerableRanges":[">=10.10.0, <10.13.4",">=11.0.0-rc.1, <11.2.2"],"patched":["10.13.4","11.2.2"],"from":["GHSA-r6wx-627v-gh2f"],"provenance":"source"}],"summary":{"text":"The HTML injection flaw lies in the Comment feature of Directus, a real-time API and App dashboard for managing SQL database content, where a client-side filter meant to block restricted characters such as HTML tags can be bypassed. An attacker with low privileges can exploit this by getting a user to interact with crafted content, which allows injected HTML to be rendered and can compromise confidentiality over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:41Z"},"euvd":{"id":"EUVD-2024-3503","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-46990","published":"2024-09-18","fixed":"11.1.0","kev":false,"link":{"from":"CVE-2024-46990","to":"CVE-2024-54128","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:directus","fromFixed":"10.13.3","toFixed":"10.13.4","daysApart":78}]}},{"cve":"CVE-2025-27089","published":"2025-02-19","fixed":"11.1.2","kev":false},{"cve":"CVE-2025-24353","published":"2025-01-23","fixed":"11.2.0","kev":false},{"cve":"CVE-2024-54128","published":"2024-12-05","fixed":"11.2.2","kev":false},{"cve":"CVE-2024-54151","published":"2024-12-09","fixed":"11.3.0","kev":false,"link":{"from":"CVE-2024-54128","to":"CVE-2024-54151","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:directus","fromFixed":"11.2.2","toFixed":"11.3.0","daysApart":4}]}},{"cve":"CVE-2024-6533","published":"2024-08-15","fixed":"11.3.3","kev":false},{"cve":"CVE-2025-30225","published":"2025-03-26","fixed":"11.5.0","kev":false}],"package":"npm:directus"}}