Directus has an HTML Injection in Comment
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-80.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| directus | directus | 10.10.0 to before 10.13.4; 11.0.0-rc.1 to before 11.2.0 | 10.13.4, 11.2.0 | Patch available | CNA |
| — | @directus/app (npm) | 11.0.0 to before 13.3.1 | 13.3.1 | Patch available | GHSA-r6wx-627v-gh2f |
| — | directus (npm) | 10.10.0 to before 10.13.4 | 10.13.4 | Patch available | GHSA-r6wx-627v-gh2f |
| — | directus (npm) | 11.0.0-rc.1 to before 11.2.2 | 11.2.2 | Patch available | GHSA-r6wx-627v-gh2f |
- directus Vendordirectus Affected 10.10.0 to before 10.13.4; 11.0.0-rc.1 to before 11.2.0 Fixed in 10.13.4, 11.2.0 Patch available CNA
- @directus/app (npm) Vendor— Affected 11.0.0 to before 13.3.1 Fixed in 13.3.1 Patch available GHSA-r6wx-627v-gh2f
- directus (npm) Vendor— Affected 10.10.0 to before 10.13.4 Fixed in 10.13.4 Patch available GHSA-r6wx-627v-gh2f
- directus (npm) Vendor— Affected 11.0.0-rc.1 to before 11.2.2 Fixed in 11.2.2 Patch available GHSA-r6wx-627v-gh2f
Remediation
- Fix · CNA directus (directus) Fixed in 10.13.4, 11.2.0
- Fix · GHSA-r6wx-627v-gh2f @directus/app (npm) Fixed in 13.3.1 Advisory →
- Fix · GHSA-r6wx-627v-gh2f directus (npm) Fixed in 10.13.4 Advisory →
- Fix · GHSA-r6wx-627v-gh2f directus (npm) Fixed in 11.2.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-54128
- 2026-10-03 Alias added: GHSA-r6wx-627v-gh2f
References
More Directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
- TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
- TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
- TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
- TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
Sources
- CVE-2024-54128 · CVE Program
- CVE-2024-54128 · NVD
- FIRST EPSS
- GHSA-r6wx-627v-gh2f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences