CVE-2024-54128
Directus has an HTML Injection in Comment
Overview
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.
Source: OX vulnerability database
Severity
4.6 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness: CWE-80
Affected packages · 2
| Ecosystem | Package | Vulnerable | 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.411.2.2 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/directus/directus
- github.com https://github.com/directus/directus/commit/4487fb18d5cb09e071b111d2dc0c9d6bcb437633
- github.com https://github.com/directus/directus/commit/c89dbb233fbad2fd0cf41eb99d50c6de4e84195d
- github.com https://github.com/directus/directus/security/advisories/GHSA-r6wx-627v-gh2f
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-54128
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.