{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.1.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5933e034467bdea2a9295a25164ccf9b66d0a8ae"
            }
          ],
          "repo": "https://github.com/commenthol/serialize-to-js",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The deserialize function in serialize-to-js through 1.1.1 allows attackers to cause a denial of service via vectors involving an Immediately Invoked Function Expression \"function()\" substring, as demonstrated by a \"function(){console.log(\" call or a simple infinite loop. NOTE: the vendor agrees that denial of service can occur but notes that deserialize is explicitly listed as \"harmful\" within the README.md file",
  "id": "CVE-2017-15871",
  "modified": "2026-03-13T21:46:38.119041861Z",
  "published": "2017-10-24T20:29:00.203Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/commenthol/serialize-to-js/issues/3"
    },
    {
      "type": "EVIDENCE",
      "url": "https://kay-malwarebenchmark.github.io/blog/cve-2017-15871-dos-through-iife/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}