{
  "schema_version": "1.4.0",
  "id": "GHSA-6677-83pp-f862",
  "modified": "2021-08-17T18:13:29Z",
  "published": "2019-07-16T00:42:02Z",
  "aliases": [
    "CVE-2019-13506"
  ],
  "summary": "Cross-Site Scripting in @nuxt/devalue",
  "details": "Versions of `@nuxt/devalue` prior to 1.2.3 are vulnerable to Cross-Site Scripting. Due to insufficient input sanitization attacker may inject arbitrary JavaScript code through object keys.\n\n\n## Recommendation\n\nUpgrade to version 1.2.3 or later.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@nuxt/devalue"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-13506"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Rich-Harris/devalue/issues/19"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nuxt/devalue/pull/8"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nuxt/nuxt.js/commit/0d5dfe71917191c5b07f373896311f2d8f6b75be"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nuxt/devalue/releases/tag/v1.2.3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nuxt/nuxt.js/compare/c0776eb...8d14cd4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nuxt/nuxt.js/releases/tag/v2.6.2"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/814"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-07-15T23:34:55Z",
    "nvd_published_at": null
  }
}