{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.2.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "80f469d09eca39296cad8c1589d2f15f42b5e2da"
            }
          ],
          "repo": "https://github.com/risingstack/protect",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "RisingStack protect version 1.2.0 and earlier contains a Cross Site Scripting (XSS) vulnerability in isXss() function in lib/rules/xss.js that can result in dangerous XSS strings being validated as safe. This attack appears to be exploitable via A number of XSS strings(26) detailed in the GitHub issue #16.",
  "id": "CVE-2018-1000160",
  "modified": "2026-03-13T21:47:59.725774007Z",
  "published": "2018-04-18T19:29:00.393Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm"
    },
    {
      "type": "FIX",
      "url": "https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/RisingStack/protect/issues/16"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}