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
http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm
https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13
https://github.com/RisingStack/protect/issues/16
Related Vulnerabilities
CVE-2022-39322 Vulnerability in npm package @keystone-6/core
CVE-2020-35213 Vulnerability in maven package io.atomix:atomix
CVE-2020-11020 Vulnerability in npm package faye
CVE-2021-43138 Vulnerability in maven package org.webjars.bowergithub.caolan:async
CVE-2019-10244 Vulnerability in maven package org.eclipse.kura:kura