Intel

AIKIDO-2025-10132

@medusajs/medusa is vulnerable to Insertion of Sensitive Information into Log File

Insertion of Sensitive Information into Log File Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 4, 2025

25

Low Risk

This Affects:

JS@medusajs/medusa
1.0.0 - 2.5.1
Fixed in 2.6.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package may expose sensitive information in log files by passing the provider identity update token as a parameter instead of using a Bearer token in the authorization header. This increases the risk of token leakage. To mitigate this, the update process now requires the token in the authorization header.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@medusajs/medusa is vulnerable to Insertion of Sensitive Information into Log File in versions 1.0.0 - 2.5.1.

How to fix this

Upgrade the @medusajs/medusa library to the patch version. This is a breaking change and is not backward compatible.