THREATPORT/VULNERABILITY/CVE-2025-54782
HIGH SEVERITY

CVE-2025-54782

Devtools Integration vulnerability

CVSS
8.8
EPSS
43.9%
EPSS pct
99th
Exploited
No known
Nest is a framework for building scalable Node.js server-side applications. In versions 0.2.0 and below, a critical Remote Code Execution (RCE) vulnerability was discovered in the @nestjs/devtools-integration package. When enabled, the package exposes a local development HTTP server with an API endpoint that uses an unsafe JavaScript sandbox (safe-eval-like implementation). Due to improper sandboxing and missing cross-origin protections, any malicious website visited by a developer can execute arbitrary code on their local machine. The package adds HTTP endpoints to a locally running NestJS development server. One of these endpoints, /inspector/graph/interact, accepts JSON input containing a code field and executes the provided code in a Node.js vm.runInNewContext sandbox. This is fixed in version 0.2.1.
Affected vendor
Nestjs
Affected product
Devtools Integration
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness type (CWE)
  • CWE-77 — Command Injection
  • CWE-78 — OS Command Injection
  • CWE-352 — Cross-Site Request Forgery (CSRF)
Published
2025-08-02

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 43.9% reflects a moderate probability of exploitation activity in the wild over the next 30 days, placing it among the most exploited CVEs currently tracked.

Check your external exposure to CVE-2025-54782

  • Confirm whether Nestjs Devtools Integration is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2025-54782.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2025-54782

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2025-54782 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2025-54782?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2025-54782.

Start free scan

No credit card. Agentless.