Directus has an HTML Injection in Comment
directus
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @directus/app npm |
|
|
| directus npm |
|
|
directus
| Product | Affected | Fixed in |
|---|---|---|
| @directus/app npm |
|
|
| directus npm |
|
|
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.
From the CVE record · GitHub_M
The Comment feature filters restricted characters, including HTML tags, only on the client side. An attacker who can submit a comment can bypass that filter and inject HTML. The input does not specify whether authentication or another user's interaction is required.
Check npm @directus/app versions >=11.0.0 and <13.3.1, and npm directus versions >=10.10.0 and <10.13.4 or >=11.0.0-rc.1 and <11.2.2.