What’s Vulnerable › Vulnerabilities
CVE-2024-54128: Directus has an HTML Injection in Comment
- Severity: medium (CVSS 4.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-12-05 · updated 2026-06-17
- Weakness: CWE-80
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.
Affected products
- directus: from 10.10.0 before 10.13.4; from 11.0.0 before 11.2.2 — fixed in 10.13.4, 11.2.2
How to fix
Upgrade to a fixed version: directus 10.13.4, 11.2.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-54128 or the next vulnerability affects your stack