Cross-Site Scripting in dojo
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.
Recommendation
Upgrade to version 1.4.2 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | dojo | >= 1.13.0, < 1.13.1, >= 1.12.0, < 1.12.4, >= 1.11.0, < 1.11.6, >= 1.10.0, < 1.10.10 | 1.13.1, 1.12.4, 1.11.6, 1.10.10 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2010-2273
- https://github.com/dojo/dojo/pull/307
- https://github.com/dojo/dojo/commit/9117ffd5a3863e44c92fcd58564c0da22be858f4
- https://bugs.dojotoolkit.org/ticket/10773
- https://www.npmjs.com/advisories/972
- http://bugs.dojotoolkit.org/ticket/10773
- http://dojotoolkit.org/blog/post/dylan/2010/03/dojo-security-advisory
- http://secunia.com/advisories/38964
- http://secunia.com/advisories/40007
- http://www-01.ibm.com/support/docview.wss?uid=swg21431472
- http://www-1.ibm.com/support/docview.wss?uid=swg1LO50833
- http://www-1.ibm.com/support/docview.wss?uid=swg1LO50849
- http://www-1.ibm.com/support/docview.wss?uid=swg1LO50856
- http://www-1.ibm.com/support/docview.wss?uid=swg1LO50896
- http://www-1.ibm.com/support/docview.wss?uid=swg1LO50932
- http://www-1.ibm.com/support/docview.wss?uid=swg1LO50958
- http://www-1.ibm.com/support/docview.wss?uid=swg1LO50994
- http://www.gdssecurity.com/l/b/2010/03/12/multiple-dom-based-xss-in-dojo-toolkit-sdk
- http://www.vupen.com/english/advisories/2010/1281
- Weakness (CWE)
CWE-79- Platform
- npm
- Package
dojo- Disclosed
- 11.09.2019
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-536q-8gxx-m782 - CC BY 4.0
Vulnerability history: dojo
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 09.2019 01.2022
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 3
Disclosures per year
- 2019: 1
- 2020: 3
- 2021: 0
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Cross-Site Scripting in dojo this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.