{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "10.10.0"
              },
              {
                "fixed": "10.13.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "9d88df621fec13d88665b81c4335bd43b66abe4d"
            },
            {
              "fixed": "9be6b4afdce157189b6f2fc2777269ea3a5f56b3"
            }
          ],
          "repo": "https://github.com/directus/directus",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "11.0.0-rc.1"
              },
              {
                "fixed": "11.2.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "f5b1c783d136a43d1a97b849ce7f26f9795466d6"
            },
            {
              "fixed": "a0a4c23131c021d08ee9b5efcd6a33a0a39c0250"
            }
          ],
          "repo": "https://github.com/directus/directus",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r6wx-627v-gh2f"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-80"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54128.json"
  },
  "details": "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.",
  "id": "CVE-2024-54128",
  "modified": "2026-03-01T02:36:05.128600374Z",
  "published": "2024-12-05T16:55:53.434Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54128.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/directus/directus/security/advisories/GHSA-r6wx-627v-gh2f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-54128"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Directus has an HTML Injection in Comment"
}