Vulnerabilities in pkg:npm/dojox
PACKAGECVE-2018-15494 is a CRITICAL (CVSS 9.8) dojox vulnerable to unescaped string vulnerability (CWE-116: Improper Encoding or Escaping of Output) affecting Dojox libraries in the npm ecosystem. The issue involves dojox vulnerable to unescaped string injection. Remediation is available by upgrading affected packages to version 1.14.0.
pkg:npm/dojox
Vulnerability advisories affecting package pkg:npm/dojox. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-84cm-x2q5-8225 | CVE-2018-15494 | CRITICAL | dojox vulnerable to unescaped string injection |
| GHSA-pg97-ww7h-5mjr | CVE-2019-10785 | MODERATE | XSS in dojox due to insufficient escape in dojox.xmpp.util.xmlEncode |
| GHSA-3hw5-q855-g6cw | CVE-2020-5259 | LOW | Prototype Pollution in Dojox |
CVE-2018-15494 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-15494
To remediate this vulnerability, upgrade all affected Dojox dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install dojox@1.14.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls dojox
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2018-15494, inspect your project dependencies using npm:
npm ls dojox
Analyze the terminal output to locate any version of Dojox in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.14.0), your application is affected.
Note: The npm ls dojox command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-116: Improper Encoding or Escaping of Output, where the product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. as a result, the intended structure of the message is not preserved. In Dojox, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-15494 Affected Dojox Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dojox
|
npm |
< 1.14.0
|
1.14.0
|
References
Frequently Asked Questions
What is CVE-2018-15494?
Which Dojox versions are affected?
What version fixes CVE-2018-15494?
Is dojox affected?
What is the CVSS score of CVE-2018-15494?
What CWE is associated with CVE-2018-15494?
How can I check npm dependencies for CVE-2018-15494?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-84cm-x2q5-8225",
"modified" : "2023-09-27T12:57:00Z",
"published" : "2018-10-15T22:03:48Z",
"aliases" : [ "CVE-2018-15494" ],
"summary" : "dojox vulnerable to unescaped string injection",
"details" : "In Dojo Toolkit before 1.14.0, there is unescaped string injection in dojox/Grid/DataGrid.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "dojox"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.14.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-15494"
}, {
"type" : "WEB",
"url" : "https://github.com/dojo/dojox/pull/283"
}, {
"type" : "WEB",
"url" : "https://dojotoolkit.org/blog/dojo-1-14-released"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-84cm-x2q5-8225"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dojo/dojox"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2018/09/msg00002.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-116" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:24:12Z",
"nvd_published_at" : null
}
}