Medusa 2.0.0 before 2.18.0 contains a prototype pollution vulnerability in buildOrder() in packages/core/utils/src/common/build-query.ts that splits the order query parameter on dots and walks the segments with the ??= operator, so a value such as __proto__.polluted resolves to Object.prototype and the final assignment sets a property on it. Unauthenticated attackers can send one request with a crafted order parameter to Store API list endpoints such as /store/products, which have no allowed-field list, making toRemoteQuery() inject the polluted key into every later query graph and breaking API responses for all users until the server process restarts.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub