Improper Removal of Sensitive Information Before Storage or Transfer Affecting @directus/api package, versions <28.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-DIRECTUSAPI-10753739
  • published16 Jul 2025
  • disclosed15 Jul 2025
  • creditUnknown

Introduced: 15 Jul 2025

CVE-2025-53886  (opens in a new tab)
CWE-212  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade @directus/api to version 28.0.0 or higher.

Overview

@directus/api is a real-time API and App dashboard for managing SQL database content

Affected versions of this package are vulnerable to Improper Removal of Sensitive Information Before Storage or Transfer via Directus Flows when using the WebHook trigger. An attacker with administrative access to the logs can compromise user sessions by obtaining sensitive data such as access and refresh tokens in cookies before they expire.

CVSS Base Scores

version 4.0
version 3.1