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

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-05T16:55:53.434Z
- Modified: 2026-06-17T08:09:49.400Z
- Also known as: GHSA-r6wx-627v-gh2f
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- directus directus: >= 10.10.0, < 10.13.4; >= 11.0.0-rc.1, < 11.2.0
- @directus/app (npm): from 11.0.0 before 13.3.1
- directus (npm): from 10.10.0 before 10.13.4; from 11.0.0-rc.1 before 11.2.2
- monospace directus: from 10.10.0 before 10.13.4; from 11.0.0 before 11.2.2

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/directus/directus/security/advisories/GHSA-r6wx-627v-gh2f> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-54128> (advisory)
- <https://github.com/directus/directus/commit/4487fb18d5cb09e071b111d2dc0c9d6bcb437633> (web)
- <https://github.com/directus/directus/commit/c89dbb233fbad2fd0cf41eb99d50c6de4e84195d> (web)
- <https://github.com/directus/directus> (package)

## Sources

- CVE List: [CVE-2024-54128](https://www.cve.org/CVERecord?id=CVE-2024-54128), CVE Terms of Use, modified 2024-12-06
- GitHub Advisory Database: [GHSA-r6wx-627v-gh2f](https://github.com/advisories/GHSA-r6wx-627v-gh2f), CC-BY-4.0, modified 2025-11-19
- NVD: [CVE-2024-54128](https://nvd.nist.gov/vuln/detail/CVE-2024-54128), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-54128 · Whole record: https://cve.day/CVE-2024-54128.json · Rebuilt by cve.day 2026-11-25T22:58:49.748Z
