Description
Cross-site scripting (XSS) vulnerability in dijit/tests/_testCommon.js in Dojo Toolkit SDK before 1.4.2 allows remote attackers to inject arbitrary web script or HTML via the theme parameter, as demonstrated by an attack against dijit/tests/form/test_Button.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 - '/dijit/tests/_testCommon.js?theme' Cross-Site Scripting EDB-33764 · 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.
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
- 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