Vulnerability · Published Jul 14, 2025 · Assigned by GitHub_M
CVE-2025-53885Directus doesn't redact sensitive user data when logging via event hooks
Medium 4.2
In plain English
A medium-severity sensitive data in logs 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.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 9.0.0 and prior to version 11.9.0, when using Directus Flows to handle CRUD events for users it is possible to log the incoming data to console using the "Log to Console" operation and a template string. Malicious admins can log sensitive data from other users when they are created or updated. Version 11.9.0 contains a fix for the issue. As a workaround, avoid logging sensitive data to the console outside the context of development.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | directus | 11.9.0 | GHSA-x3vm-88hf-gpxp |
Affected products (as reported)
Weakness: CWE-532 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/directus/directus/security/advisories/GHSA-x3vm-88hf-gpxp x_refsource_CONFIRM
- https://github.com/directus/directus/pull/25355 x_refsource_MISC
- https://github.com/directus/directus/commit/859f664f56fb50401c407b095889cea38ff580e5 x_refsource_MISC
- https://github.com/directus/directus/releases/tag/v11.9.0 x_refsource_MISC