Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @risingstack/protect
  4. ›
  5. CVE-2018-1000160

CVE-2018-1000160: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

April 25, 2018 (updated September 20, 2021)

RisingStack protect 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.

References

  • embed.plnkr.co/xHbhB29JWWyMUMeHsLrm
  • github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js
  • github.com/RisingStack/protect/issues/16
  • github.com/advisories/GHSA-vpch-rxw3-fgx8
  • nvd.nist.gov/vuln/detail/CVE-2018-1000160
  • snyk.io/vuln/SNYK-JS-RISINGSTACKPROTECT-455402
  • www.npmjs.com/advisories/1116

Code Behaviors & Features

Detect and mitigate CVE-2018-1000160 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.2.0

Solution

Unfortunately, there is no solution available yet.

Impact 6.1 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@risingstack/protect/CVE-2018-1000160.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 30 Oct 2026 12:17:10 +0000.