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.
Remediation
References
https://github.com/RisingStack/protect/issues/16
https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13
http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm
Related Vulnerabilities
CVE-2020-8147 Vulnerability in npm package utils-extend
CVE-2021-21624 Vulnerability in maven package org.jenkins-ci.plugins:role-strategy
CVE-2018-13797 Vulnerability in maven package org.webjars.npm:macaddress
CVE-2022-0639 Vulnerability in npm package url-parse
CVE-2017-16138 Vulnerability in maven package org.webjars:mime