Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-54782

8.8 · HIGH
Published Aug 2, 2025 nestjs CWE-77 EPSS 49.99% (99th pctl)

Overview

CVE-2025-54782 is a high-severity vulnerability affecting nestjs devtools-integration. It was published on August 2, 2025 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from nestjs. Update devtools-integration to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
nestjs devtools-integration >= 0, < 0.2.1 Affected

Frequently Asked Questions

What is CVE-2025-54782?

CVE-2025-54782 is a high-severity vulnerability affecting nestjs devtools-integration. It was published on August 2, 2025 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2025-54782?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-54782?

Check the references section for vendor advisories and patches from nestjs. Update devtools-integration to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-54782?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-54782 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.