{
  "schema_version": "1.4.0",
  "id": "GHSA-536q-8gxx-m782",
  "modified": "2020-08-31T18:42:32Z",
  "published": "2019-09-11T23:02:57Z",
  "aliases": [
    "CVE-2010-2273"
  ],
  "summary": "Cross-Site Scripting in dojo",
  "details": "Versions of `dojo` prior to 1.4.2 are vulnerable to DOM-based Cross-Site Scripting (XSS). The package does not sanitize URL parameters in the `_testCommon.js` and `runner.html` test files, allowing attackers to execute arbitrary JavaScript in the victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 1.4.2 or later.",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "dojo"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.13.0"
            },
            {
              "fixed": "1.13.1"
            }
          ]
        }
      ],
      "versions": [
        "1.13.0"
      ]
    },
    {
      "package": {
        "ecosystem": "npm",
        "name": "dojo"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.12.0"
            },
            {
              "fixed": "1.12.4"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "npm",
        "name": "dojo"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.11.0"
            },
            {
              "fixed": "1.11.6"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "npm",
        "name": "dojo"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.10.0"
            },
            {
              "fixed": "1.10.10"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2010-2273"
    },
    {
      "type": "WEB",
      "url": "https://github.com/dojo/dojo/pull/307"
    },
    {
      "type": "WEB",
      "url": "https://github.com/dojo/dojo/commit/9117ffd5a3863e44c92fcd58564c0da22be858f4"
    },
    {
      "type": "WEB",
      "url": "https://bugs.dojotoolkit.org/ticket/10773"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/972"
    },
    {
      "type": "WEB",
      "url": "http://bugs.dojotoolkit.org/ticket/10773"
    },
    {
      "type": "WEB",
      "url": "http://dojotoolkit.org/blog/post/dylan/2010/03/dojo-security-advisory"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/38964"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/40007"
    },
    {
      "type": "WEB",
      "url": "http://www-01.ibm.com/support/docview.wss?uid=swg21431472"
    },
    {
      "type": "WEB",
      "url": "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50833"
    },
    {
      "type": "WEB",
      "url": "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50849"
    },
    {
      "type": "WEB",
      "url": "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50856"
    },
    {
      "type": "WEB",
      "url": "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50896"
    },
    {
      "type": "WEB",
      "url": "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50932"
    },
    {
      "type": "WEB",
      "url": "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50958"
    },
    {
      "type": "WEB",
      "url": "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50994"
    },
    {
      "type": "WEB",
      "url": "http://www.gdssecurity.com/l/b/2010/03/12/multiple-dom-based-xss-in-dojo-toolkit-sdk"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2010/1281"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-09-04T04:12:06Z",
    "nvd_published_at": null
  }
}