Vulnerability · Published Dec 5, 2024 · Assigned by GitHub_M

CVE-2024-54128Directus has an HTML Injection in Comment

Medium 5.7

In plain English

A medium-severity security flaw in directus from directus. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.7Medium
Exploit odds (30 days)0.3%top 71.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@directus/app13.3.1GHSA-r6wx-627v-gh2f
npmdirectus10.13.4GHSA-r6wx-627v-gh2f
npmdirectus11.2.2GHSA-r6wx-627v-gh2f

Affected products (as reported)

VendorProductVersions
directus directus >= 10.10.0, < 10.13.4>= 11.0.0-rc.1, < 11.2.0

Weakness: CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

References