GHSA-HG79-J56M-FXGV

Vulnerability from github – Published: 2020-09-04 15:26 – Updated: 2021-10-01 20:15
VLAI?
Summary
Cross-Site Scripting in react
Details

Versions of react prior to 0.14.0 are vulnerable to Cross-Site Scripting (XSS). The package's createElement function fails to properly validate its input object, allowing attackers to execute arbitrary JavaScript in a victim's browser.

Recommendation

Upgrade to version 0.14.0 or later.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "react"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0.0.1"
            },
            {
              "fixed": "0.14.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:55:53Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "Versions of `react` prior to 0.14.0 are vulnerable to Cross-Site Scripting (XSS). The package\u0027s `createElement` function fails to properly validate its input object, allowing attackers to execute arbitrary JavaScript in a victim\u0027s browser.\n\n\n## Recommendation\n\nUpgrade to version 0.14.0 or later.",
  "id": "GHSA-hg79-j56m-fxgv",
  "modified": "2021-10-01T20:15:16Z",
  "published": "2020-09-04T15:26:04Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://github.com/facebook/react"
    },
    {
      "type": "WEB",
      "url": "https://reactjs.org/blog/2015/10/07/react-v0.14.html#notable-enhancements"
    },
    {
      "type": "WEB",
      "url": "https://reactjs.org/blog/2019/10/22/react-release-channels.html#experimental-channel"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/npm:react:20150318"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/1347"
    },
    {
      "type": "WEB",
      "url": "http://danlec.com/blog/xss-via-a-spoofed-react-element"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Cross-Site Scripting in react"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…