{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.5.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "89f006525f018ee4bd62b3d7527c81196cd7bea6"
            }
          ],
          "repo": "https://github.com/mde/ejs",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function",
  "id": "CVE-2017-1000228",
  "modified": "2026-03-13T21:51:59.136920485Z",
  "published": "2017-11-17T03:29:00.377Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/101897"
    },
    {
      "type": "EVIDENCE",
      "url": "https://snyk.io/vuln/npm:ejs:20161128"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}