CVE-2024-54128 json
Directus has an HTML Injection in Comment
published 2024-12-05 23 mo ago modified 2026-06-17 4 mo ago also EUVD-2024-3503 , GHSA-r6wx-627v-gh2f
- cvss
- 5.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @directus/app 13.3.1
- npm directus 10.13.4, 11.2.2
- monospace directus 10.13.4, 11.2.0
- rangerstudio directus 10.13.4, 11.2.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/directus/directus/security/advisories/GHSA-r6wx-627v-gh2f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @directus/app | >=11.0.0, <13.3.1 |
13.3.1 |
| npm | directus | >=10.10.0, <10.13.4 >=11.0.0-rc.1, <11.2.2 |
10.13.4 11.2.2 |
Affected products
- directus directus
Classification
- Weakness
-
- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
References
-
github.com
/directus/directus/commit/4487fb18d5cb09e071b111d2dc0c9d6bcb437633
web
-
github.com
/directus/directus/commit/c89dbb233fbad2fd0cf41eb99d50c6de4e84195d
web
-
github.com
/directus/directus/security/advisories/GHSA-r6wx-627v-gh2f
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-54128
advisory
-
github.com
/directus/directus
package
Sources
- CVE List CVE-2024-54128
- GitHub Advisory GHSA-r6wx-627v-gh2f
- NVD CVE-2024-54128
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.