{
  "schema_version": "1.4.0",
  "id": "GHSA-q8gg-vj6m-hgmj",
  "modified": "2023-03-03T00:11:24Z",
  "published": "2023-02-24T06:30:16Z",
  "aliases": [
    "CVE-2022-48345"
  ],
  "summary": "@braintree/sanitize-url Cross-site Scripting vulnerability",
  "details": "sanitize-url (aka @braintree/sanitize-url) before 6.0.1 allows XSS via HTML entities.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@braintree/sanitize-url"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.0.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-48345"
    },
    {
      "type": "WEB",
      "url": "https://github.com/braintree/sanitize-url/commit/d4bdc89f1743fe3cdb7c3f24b06e4c875f349b0c"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/braintree/sanitize-url"
    },
    {
      "type": "WEB",
      "url": "https://github.com/braintree/sanitize-url/compare/v6.0.0...v6.0.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/braintree/sanitize-url/compare/v6.0.1...v6.0.2"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-02-24T16:23:15Z",
    "nvd_published_at": "2023-02-24T06:15:00Z"
  }
}