CVE-2018-15494: dojox unescaped string injection in Grid DataGrid

CVE-2018-15494 · Severity: low · CVSS 3 · Published 2018-10-15

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.

Technologies: dojox (npm). Vendors: npm.

Quick answers

Is CVE-2018-15494 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2018-15494 being exploited in the wild.
How severe is CVE-2018-15494?
Low severity, with a CVSS score of 3, published 15 October 2018.
Which products and versions are affected?
dojox (npm) SEMVER:introduced=0,fixed=1.14.0.
Is there a fix for CVE-2018-15494?
Yes. dojox (npm): upgrade to 1.14.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2018-15494 attacked?
It is attacked over the network.
Am I affected by CVE-2018-15494?
Check whether you run dojox (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • dojox (npm): upgrade to 1.14.0 or later
    npm install dojox@1.14.0

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

Identifiers

  • CVE-2018-15494
  • GHSA-84cm-x2q5-8225

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

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.