Description
Multiple cross-site scripting (XSS) vulnerabilities in Dojo 1.0.x before 1.0.3, 1.1.x before 1.1.2, 1.2.x before 1.2.4, 1.3.x before 1.3.3, and 1.4.x before 1.4.2 allow remote attackers to inject arbitrary web script or HTML via unspecified vectors, possibly related to dojo/resources/iframe_history.html, dojox/av/FLAudio.js, dojox/av/FLVideo.js, dojox/av/resources/audio.swf, dojox/av/resources/video.swf, util/buildscripts/jslib/build.js, and util/buildscripts/jslib/buildUtil.js, as demonstrated by the (1) dojoUrl and (2) testUrl parameters to util/doh/runner.html.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dojo | 1.4.2+dfsg-1 | — |
| Debian 13 | dojo | 1.4.2+dfsg-1 | — |
| Debian 12 | dojo | 1.4.2+dfsg-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Dojo Toolkit 1.4.1 - '/doh/runner.html' Multiple Cross-Site Scripting Vulnerabilities EDB-33765 · webapps · Mar 15, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | dojo | >= 1.13.0, < 1.13.1 | 1.13.1 | GHSA-536q-8gxx-m782 |
| npm | dojo | >= 1.12.0, < 1.12.4 | 1.12.4 | GHSA-536q-8gxx-m782 |
| npm | dojo | >= 1.11.0, < 1.11.6 | 1.11.6 | GHSA-536q-8gxx-m782 |
| npm | dojo | >= 1.10.0, < 1.10.10 | 1.10.10 | GHSA-536q-8gxx-m782 |
References
- ADV-2010-1281 vdb-entry
- LO50849 vendor-advisory
- LO50932 vendor-advisory
- http://bugs.dojotoolkit.org/ticket/10773
- LO50994 vendor-advisory
- LO50833 vendor-advisory
- 38964 third-party-advisory
- LO50958 vendor-advisory
- LO50856 vendor-advisory
- http://dojotoolkit.org/blog/post/dylan/2010/03/dojo-security-advisory/
- LO50896 vendor-advisory
- 40007 third-party-advisory
- http://www.gdssecurity.com/l/b/2010/03/12/multiple-dom-based-xss-in-dojo-toolkit-sdk/
- http://www-01.ibm.com/support/docview.wss?uid=swg21431472