Executive brief
dojox is a JavaScript toolkit library used to build web applications and user interfaces. An unescaped string injection vulnerability in the Grid/DataGrid component allows attackers to inject malicious code into web pages, potentially leading to session hijacking, credential theft, or malware distribution to end users.
Technical details
The vulnerability is an unescaped string injection (CWE-116) in dojox/Grid/DataGrid that affects Dojo Toolkit versions before 1.14.0. The flaw exists in the DataGrid component's handling of string data without proper HTML/JavaScript escaping. An attacker can craft malicious input that, when processed by the DataGrid and rendered in the browser, executes arbitrary JavaScript code in the context of the application. The vulnerability is network-accessible and requires no authentication or user interaction beyond normal use of an affected application. The fix was implemented in version 1.14.0 and can be reviewed in the dojox GitHub pull request #283.
Affected products
- Dojo dojox before 1.14.0
Timeline
- 2018-10-15: disclosed: GHSA-84cm-x2q5-8225 published
- 2018-07-12: patched: Fix merged in dojo/dojox PR #283; version 1.14.0 released