CVE-2024-54128
MEDIUM 4.6CVSS 3.1Directus has an HTML Injection in Comment
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
- 5 Dec 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-80
- Also known as
- GHSA-r6wx-627v-gh2f
- Sources
- NVDJSONOSV GHSA-r6wx-627v-gh2fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | monospace | directuscpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:* |
>= 10.10.0, < 10.13.4 | 10.13.4 |
| NVD | monospace | directuscpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:* |
>= 11.0.0, < 11.2.2 | 11.2.2 |
| OSV | npm | @directus/app | >= 11.0.0, < 13.3.1 | 13.3.1 |
| OSV | npm | directus | >= 10.10.0, < 10.13.4 | 10.13.4 |
| OSV | npm | directus | >= 11.0.0-rc.1, < 11.2.2 | 11.2.2 |
References
- https://github.com/directus/directus/security/advisories/GHSA-r6wx-627v-gh2f · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-54128 · ADVISORY
- https://github.com/directus/directus/commit/4487fb18d5cb09e071b111d2dc0c9d6bcb437633 · WEB
- https://github.com/directus/directus/commit/c89dbb233fbad2fd0cf41eb99d50c6de4e84195d · WEB
- https://github.com/directus/directus · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 5 Dec 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Dec 2024)