MEDIUM 4.2 npm

Directus is vulnerable to sensitive data exposure as user data is not being redacted when logged

GHSA-x3vm-88hf-gpxp · CVE-2025-53885

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Summary

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.

Impact

Malicious admins can log sensitive data from other users when they are created or updated.

Workarounds

Avoid logging sensitive data to the console outside the context of development.

Ready to move

Start Securing

Free, no credit card | First findings in minutes