Improper Neutralization of Special Elements in Data Query Logic Affecting org.webjars.npm:mongoose package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th 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 Learn

Learn about Improper Neutralization of Special Elements in Data Query Logic vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-8623537
  • published17 Jan 2025
  • disclosed15 Jan 2025
  • creditUnknown

Introduced: 15 Jan 2025

NewCVE-2025-23061  (opens in a new tab)
CWE-943  (opens in a new tab)

How to fix?

There is no fixed version for org.webjars.npm:mongoose.

Overview

org.webjars.npm:mongoose is a Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic due to the improper use of a $where filter in conjunction with the populate() match. An attacker can manipulate search queries to retrieve or alter information without proper authorization by injecting malicious input into the query.

Note: This vulnerability derives from an incomplete fix of CVE-2024-53900

CVSS Scores

version 4.0
version 3.1