GHSA-VPCH-RXW3-FGX8

Vulnerability from github – Published: 2018-04-25 14:30 – Updated: 2021-09-20 22:10
VLAI
Summary
Cross-Site Scripting in @risingstack/protect
Details

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.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@risingstack/protect"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.2.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2018-1000160"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:58:00Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "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\u0027s browser.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package. The package is not actively maintained and will not be patched.",
  "id": "GHSA-vpch-rxw3-fgx8",
  "modified": "2021-09-20T22:10:09Z",
  "published": "2018-04-25T14:30:43Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000160"
    },
    {
      "type": "WEB",
      "url": "https://github.com/RisingStack/protect/issues/16"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/RisingStack/protect"
    },
    {
      "type": "WEB",
      "url": "https://github.com/RisingStack/protect/blob/60b0c91e86686d34e5202419ce9ae7e8dc08edcd/lib/rules/xss.js#L4-L13"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-vpch-rxw3-fgx8"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-RISINGSTACKPROTECT-455402"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/1116"
    },
    {
      "type": "WEB",
      "url": "http://embed.plnkr.co/xHbhB29JWWyMUMeHsLrm"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross-Site Scripting in @risingstack/protect"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…