{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.5.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "a1e8140ed1a07013f644b5b76025f4eaab7fb9d8"
            }
          ],
          "repo": "https://github.com/commenthol/serialize-to-js",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in the serialize-to-js package 0.5.0 for Node.js. Untrusted data passed into the deserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE).",
  "id": "CVE-2017-5954",
  "modified": "2026-03-13T21:51:53.265803240Z",
  "published": "2017-02-10T07:59:00.310Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/96223"
    },
    {
      "type": "FIX",
      "url": "https://github.com/commenthol/serialize-to-js/issues/1"
    },
    {
      "type": "EVIDENCE",
      "url": "https://opsecx.com/index.php/2017/02/08/exploiting-node-js-deserialization-bug-for-remote-code-execution/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}