GHSA-6J22-WV8G-894F

Vulnerability from github – Published: 2022-05-19 20:29 – Updated: 2022-05-19 20:29
VLAI?
Summary
Potential Cross-site Scripting vulnerability in Hydrogen
Details

Impact

There is a potential Cross-Site Scripting (XSS) vulnerability where an arbitrary user is able to execute scripts on pages that are built with Hydrogen. This affects all versions of Hydrogen starting from version 0.10.0 to 0.18.0. This vulnerability is exploitable in applications whose hydrating data is user controlled.

Patches

All Hydrogen users should upgrade their project to v0.19.0.

Workarounds

There is no current workaround, and users should update as soon as possible.

Additionally, the Content Security Policy is not an effective mitigation for this vulnerability.

References

GitHub: Hydrogen v0.19.0 Fix PR: https://github.com/Shopify/hydrogen/pull/1272

For more information

If you have any questions or comments about this advisory: * Open an issue in Shopify/hydrogen

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@shopify/hydrogen"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0.10.0"
            },
            {
              "fixed": "0.19.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2022-29230"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-05-19T20:29:04Z",
    "nvd_published_at": "2022-05-18T21:15:00Z",
    "severity": "MODERATE"
  },
  "details": "### Impact\nThere is a potential Cross-Site Scripting (XSS) vulnerability where an arbitrary user is able to execute scripts on pages that are built with Hydrogen. This affects all versions of Hydrogen starting from version 0.10.0 to 0.18.0. This vulnerability is exploitable in applications whose hydrating data is user controlled. \n\n### Patches\nAll Hydrogen users should upgrade their project to v0.19.0.\n\n### Workarounds\nThere is no current workaround, and users should update as soon as possible.\n\nAdditionally, the Content Security Policy is not an effective mitigation for this vulnerability. \n\n### References\nGitHub: [Hydrogen v0.19.0](https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0)\nFix PR: https://github.com/Shopify/hydrogen/pull/1272\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Shopify/hydrogen](https://github.com/Shopify/hydrogen/issues/new/choose)",
  "id": "GHSA-6j22-wv8g-894f",
  "modified": "2022-05-19T20:29:04Z",
  "published": "2022-05-19T20:29:04Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Shopify/hydrogen/security/advisories/GHSA-6j22-wv8g-894f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29230"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Shopify/hydrogen/pull/1272"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Shopify/hydrogen"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Shopify/hydrogen/releases/tag/%40shopify/hydrogen%400.19.0"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Potential Cross-site Scripting vulnerability in Hydrogen"
}


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…