CVE-2019-10785Published Feb 13, 2020 · Feb 13Updated Oct 20
XSS in dojox due to insufficient escape in dojox.xmpp.util.xmlEncode
dojox
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dojox npm |
|
|
dojox
| Product | Affected | Fixed in |
|---|---|---|
| dojox npm |
|
|
1.13.61.14.51.15.21.16.1dojox is vulnerable to Cross-site Scripting in all versions before version 1.16.1, 1.15.2, 1.14.5, 1.13.6, 1.12.7 and 1.11.9. This is due to dojox.xmpp.util.xmlEncode only encoding the first occurrence of each character, not all of them.
From the CVE record · snyk
dojox.xmpp.util.xmlEncode encodes only the first occurrence of each character, leaving later occurrences unencoded and creating a cross-site scripting vulnerability. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers using the npm dojox package should check versions <1.11.9, >=1.12.0 <1.12.7, >=1.13.0 <1.13.6, >=1.14.0 <1.14.5, >=1.15.0 <1.15.2, and >=1.16.0 <1.16.1.