Описание
Cross-Site Scripting in @risingstack/protect
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.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000160
- https://github.com/RisingStack/protect/issues/16
- https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13
- https://github.com/advisories/GHSA-vpch-rxw3-fgx8
- https://snyk.io/vuln/SNYK-JS-RISINGSTACKPROTECT-455402
- https://www.npmjs.com/advisories/1116
- http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm
Пакеты
Наименование
@risingstack/protect
npm
Затронутые версииВерсия исправления
<= 1.2.0
Отсутствует
Связанные уязвимости
CVSS3: 6.1
nvd
почти 8 лет назад
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.