CVE-2018-1000160
MEDIUM 6.1CVSS 3.0Cross-Site Scripting in @risingstack/protect
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.
- Published
- 18 Apr 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-vpch-rxw3-fgx8
- Sources
- NVDJSONOSV GHSA-vpch-rxw3-fgx8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | risingstack | protectcpe:2.3:a:risingstack:protect:*:*:*:*:*:*:*:* |
<= 1.2.0 | |
| OSV | npm | @risingstack/protect | <= 1.2.0 |
References
- http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm · Third Party Advisory, WEB
- https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13 · Patch, Third Party Advisory, WEB
- https://github.com/RisingStack/protect/issues/16 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000160 · ADVISORY
- https://github.com/RisingStack/protect · PACKAGE
- https://github.com/advisories/GHSA-vpch-rxw3-fgx8 · ADVISORY
- https://snyk.io/vuln/SNYK-JS-RISINGSTACKPROTECT-455402 · WEB
- https://www.npmjs.com/advisories/1116 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 18 Apr 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Apr 2018)