Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @directus/app
  4. ›
  5. CVE-2024-54128

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

December 5, 2024 (updated November 19, 2025)

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.

References

  • github.com/advisories/GHSA-r6wx-627v-gh2f
  • github.com/directus/directus
  • github.com/directus/directus/commit/4487fb18d5cb09e071b111d2dc0c9d6bcb437633
  • github.com/directus/directus/commit/c89dbb233fbad2fd0cf41eb99d50c6de4e84195d
  • github.com/directus/directus/security/advisories/GHSA-r6wx-627v-gh2f
  • nvd.nist.gov/vuln/detail/CVE-2024-54128

Code Behaviors & Features

Detect and mitigate CVE-2024-54128 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 11.0.0 before 13.3.1

Fixed versions

  • 13.3.1

Solution

Upgrade to version 13.3.1 or above.

Impact 5.7 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Source file

npm/@directus/app/CVE-2024-54128.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:51 +0000.