Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZwY2gtcnh3My1mZ3g4
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.
Permalink: https://github.com/advisories/GHSA-vpch-rxw3-fgx8JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZwY2gtcnh3My1mZ3g4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 6 years ago
Updated: about 3 hours ago
CVSS Score: 6.1
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Percentage: 0.00119
EPSS Percentile: 0.46631
Identifiers: GHSA-vpch-rxw3-fgx8, CVE-2018-1000160
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000160
- https://github.com/RisingStack/protect/issues/16
- https://github.com/advisories/GHSA-vpch-rxw3-fgx8
- https://snyk.io/vuln/SNYK-JS-RISINGSTACKPROTECT-455402
- https://www.npmjs.com/advisories/1116
- https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13
- http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm
Blast Radius: 8.3
Affected Packages
npm:@risingstack/protect
Dependent packages: 3Dependent repositories: 23
Downloads: 1,546 last month
Affected Version Ranges: <= 1.2.0
No known fixed version
All affected versions: 1.0.0, 1.1.0, 1.2.0