{"id":"CVE-2018-1000160","aliases":["EUVD-2018-0192","GHSA-vpch-rxw3-fgx8"],"status":"published","title":"Cross-Site Scripting in @risingstack/protect","description":"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.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01282,"percentile":0.70259,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2018-04-18T19:00:00Z","modified":"2026-10-20T10:49:37Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"@risingstack/protect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.2.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@risingstack/protect","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.2.0"}]}]}],"products":[{"vendor":"risingstack","product":"protect"}],"references":[{"url":"https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/RisingStack/protect/issues/16","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000160","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vpch-rxw3-fgx8","tags":["advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-RISINGSTACKPROTECT-455402","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1116","tags":["web"]},{"url":"https://github.com/RisingStack/protect","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-1000160","description":"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.","status":"published","published":"2018-04-18T19:00:00Z","modified":"2024-08-05T12:33:49.402Z","updated_at":"2026-11-02T14:35:10.685174Z"}],"euvd":[{"id":"EUVD-2018-0192","description":"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.","status":"published","published":"2018-04-18T19:00:00Z","modified":"2024-08-05T12:33:49Z","updated_at":"2026-11-03T02:39:26.824954Z"}],"ghsa":[{"id":"GHSA-vpch-rxw3-fgx8","title":"Cross-Site Scripting in @risingstack/protect","description":"All versions of `@risingstack/protect` are vulnerable to Cross-Site Scripting. The  `isXss()` XSS validator has several bypasses that may allow attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package. The package is not actively maintained and will not be patched.","status":"published","published":"2018-04-25T14:30:43Z","modified":"2023-01-09T05:03:15Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:04.396827Z"}],"nvd":[{"id":"CVE-2018-1000160","description":"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.","status":"published","published":"2018-04-18T19:29:00.393Z","modified":"2026-06-17T01:32:33.647Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:25.506659Z"}],"osv":[{"id":"CVE-2018-1000160","description":"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.","status":"published","published":"2018-04-18T19:29:00.393Z","modified":"2026-10-20T10:49:37.824994165Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:07.192756Z"},{"id":"GHSA-vpch-rxw3-fgx8","title":"Cross-Site Scripting in @risingstack/protect","description":"All versions of `@risingstack/protect` are vulnerable to Cross-Site Scripting. The  `isXss()` XSS validator has several bypasses that may allow attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package. The package is not actively maintained and will not be patched.","status":"published","published":"2018-04-25T14:30:43Z","modified":"2023-11-08T03:59:36.258972Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:57.694388Z"}]}}
