Vulnerability GHSA-3hw5-q855-g6cw

High Risk
HIGH RISK
CVSS Score: 7.7
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
6 years ago
March 10, 2020 at 06:03 PM UTC
Prototype Pollution in Dojox
1.6.4 - 1.11.9 and 1.12.1 - 1.12.7 and 1.13.0 - 1.13.6 and 1.14.0 - 1.14.5 and 1.15.0 - 1.15.2 and 1.16.0 - 1.16.1
1.6.4 - 1.11.9 and 1.12.1 - 1.12.7 and 1.13.0 - 1.13.6 and 1.14.0 - 1.14.5 and 1.15.0 - 1.15.2 and 1.16.0 - 1.16.1

Summary

Prototype Pollution in Dojox

Details

The Dojox jQuery wrapper jqMix mixin method is vulnerable to Prototype Pollution.

Affected Area:

//https://github.com/dojo/dojox/blob/master/jq.js#L442
		var tobj = {};
		for(var x in props){
			// the "tobj" condition avoid copying properties in "props"
			// inherited from Object.prototype.  For example, if obj has a custom
			// toString() method, don't overwrite it with the toString() method
			// that props inherited from Object.prototype
			if((tobj[x] === undefined || tobj[x] != props[x]) && props[x] !== undefined && obj != props[x]){
				if(dojo.isObject(obj[x]) && dojo.isObject(props[x])){
					if(dojo.isArray(props[x])){
						obj[x] = props[x];
					}else{
						obj[x] = jqMix(obj[x], props[x]);
					}
				}else{
					obj[x] = props[x];
				}

Impacted packages

Timeline

Published
6 years ago
March 10, 2020 at 06:03 PM UTC
Fixed (1.11.10)
6 years ago
March 10, 2020 at 02:46 PM UTC
Fixed (1.12.8)
6 years ago
March 10, 2020 at 02:53 PM UTC
Fixed (1.13.7)
6 years ago
March 10, 2020 at 03:09 PM UTC
Fixed (1.14.6)
6 years ago
March 10, 2020 at 03:12 PM UTC
Fixed (1.15.3)
6 years ago
March 10, 2020 at 03:20 PM UTC
Fixed (1.16.2)
6 years ago
March 10, 2020 at 03:29 PM UTC
Last Modified
4 months ago
July 08, 2026 at 06:28 AM UTC