In short
- CVE-2018-1000160 is a MEDIUM (CVSS 6.1) vulnerability affecting protect (risingstack), @risingstack/protect.
- Chance of exploitation in the next 30 days (EPSS): 1.3%, higher than 70.2% of all vulnerabilities.
- No patched version is listed yet: follow the vendor's advisory in References.
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free