{"id":"GHSA-536q-8gxx-m782","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.","aliases":["CVE-2010-2273"],"modified":"2023-11-08T03:56:56.454372Z","published":"2019-09-11T23:02:57Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2019-09-04T04:12:06Z","nvd_published_at":null},"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"}],"affected":[{"package":{"name":"dojo","ecosystem":"npm","purl":"pkg:npm/dojo"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.13.0"},{"fixed":"1.13.1"}]}],"versions":["1.13.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/09/GHSA-536q-8gxx-m782/GHSA-536q-8gxx-m782.json"}},{"package":{"name":"dojo","ecosystem":"npm","purl":"pkg:npm/dojo"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.12.0"},{"fixed":"1.12.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/09/GHSA-536q-8gxx-m782/GHSA-536q-8gxx-m782.json"}},{"package":{"name":"dojo","ecosystem":"npm","purl":"pkg:npm/dojo"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.11.0"},{"fixed":"1.11.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/09/GHSA-536q-8gxx-m782/GHSA-536q-8gxx-m782.json"}},{"package":{"name":"dojo","ecosystem":"npm","purl":"pkg:npm/dojo"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.10.0"},{"fixed":"1.10.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/09/GHSA-536q-8gxx-m782/GHSA-536q-8gxx-m782.json"}}],"schema_version":"1.9.0"}