CVE-2025-54782
CriticalExploitedPublic exploit@nestjs/devtools-integration: CSRF to Sandbox Escape Allows for RCE against JS Developers
Published Aug 1, 2025 · Updated Aug 4, 2025 · Also known as GHSA-85cg-cmq5-qjm7
Key Facts
Patch immediately- CVE-2025-54782 is a critical-severity vulnerability (CVSS 9.4 v4) affecting Devtools-Integration (Nestjs), @nestjs/devtools-integration (npm), nestjs/nest (github-repo) and 1 more product.
- It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Aug 18, 2025. Public exploit code is available.
- EPSS estimates a 52% probability of exploitation in the next 30 days.
- Fixed versions are available, including @nestjs/devtools-integration 0.2.1, Devtools-Integration 0.2.1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v4
9.4
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS (30-day exploit likelihood)
52%
Higher than 98.9% of all scored CVEs
Exploited in the wild
Yes
2 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2025-54782 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Aug 18, 2025 | n/a | Not reported |
| CIRCL KEV | Aug 18, 2025 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Devtools-IntegrationNestjs | See advisory | 0.2.1 |
| @nestjs/devtools-integrationnpm | See advisory | 0.2.1 |
| nestjs/nestgithub-repo | See advisory | n/a |
| nest | >= < 0.2.1 | n/a |
Patched Releases
@nestjs/devtools-integration
0.2.1
Devtools-Integration
0.2.1
Timeline
Publicly disclosed
Aug 1, 2025
Last updated
Aug 4, 2025
Added to Industry KEV feed
Aug 18, 2025
Added to CIRCL KEV
Aug 18, 2025
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-352 Cross-Site Request Forgery (CSRF)
References
- advisoryGHSA advisory
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-54782
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
Nest is a framework for building scalable Node.js server-side applications.
Affected: Devtools-Integration (Nestjs); @nestjs/devtools-integration (npm); nestjs/nest (github-repo), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Aug 18, 2025.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including @nestjs/devtools-integration 0.2.1, Devtools-Integration 0.2.1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2025-54782 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo