Intel

AIKIDO-2025-10032

@medusajs/medusa is vulnerable to Information Disclosure

Information Disclosure Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jan 21, 2025

51

Medium Risk

This Affects:

JS@medusajs/medusa
1.17.0 - 1.20.10
Fixed in 1.20.11
Are you affected? Scan for Free

TL;DR

Affected versions of this package possess insecure handling of JWT tokens when running in server-side rendering (SSR) contexts. Specifically, when a guest user adds a product to their cart and enters shipping details, clicking Continue to delivery directly links the cart to the email of the last registered user. An attacker could exploit this vulnerability to gain unauthorized access to the data of registered users.

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 Information Disclosure in versions 1.17.0 - 1.20.10.

How to fix this

Upgrade the @medusajs/medusa library to the patch version.