GitHub Advisoryadvisory · npm
GHSA-vpch-rxw3-fgx8 Cross-Site Scripting in @risingstack/protect
MEDIUM
Official page ↗
- Aliases
- CVE-2018-1000160
- Ecosystem
- npm
- Packages
- @risingstack/protect
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2020-06-16
Affected packages
• npm @risingstack/protect: <= 1.2.0 (no fix yet)
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.
Recommendation
No fix is currently available. Consider using an alternative package. The package is not actively maintained and will not be patched.
Related
Alias · CVE (1)
- CVE-2018-1000160 RisingStack protect version 1.2.0 and earlier contains a Cross Site Scripting (XSS) vulnerability in isXss() function in lib/rules/xss.js… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000160 advisory
- https://github.com/RisingStack/protect/issues/16 web
- https://github.com/RisingStack/protect package
- https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13 web
- 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
- http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm web