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-2021-23412 Vulnerability in npm package gitlogplus
CVE-2023-26136 Vulnerability in npm package tough-cookie
CVE-2023-43494 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2020-7639 Vulnerability in npm package eivindfjeldstad-dot
CVE-2023-6134 Vulnerability in maven package org.keycloak:keycloak-services