CVE-2019-10785
XSS in dojox due to insufficient escape in dojox.xmpp.util.xmlEncode
Impact
### Impact _What kind of vulnerability is it? Who is impacted?_ Potential XSS vulnerability for users of `dojox/xmpp` and `dojox/dtl`. ### Patches _Has the problem been patched? What versions should users upgrade to?_ Yes, patches are available for the 1.11 through 1.16 versions. Users should upgrade to one of these versions of Dojo: * 1.16.1 * 1.15.2 * 1.14.5 * 1.13.6 * 1.12.7 * 1.11.9 Users of Dojo 1.10.x and earlier should review this change and determine if it impacts them, and backport the change as appropriate. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ The change applied in https://github.com/dojo/dojox/pull/315 could get added separately as a patch. ### For more information If you have any questions or comments about this advisory: * Open an issue in [dojo/dojox](https://github.com/dojo/dojox/)
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | dojox | < 1.11.9 | 1.11.9 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linuxfoundation | Dojox | from 1.11.0 before 1.11.9 from 1.12.0 before 1.12.7 from 1.13.0 before 1.13.6 from 1.14.0 before 1.14.5 from 1.15.0 before 1.15.2 from 1.16.0 before 1.16.1 |
| Debian | Debian Linux | Version 8.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/dojo/dojox/security/advisories/GHSA-pg97-ww7h-5mjr
- https://lists.debian.org/debian-lts-announce/2020/02/msg00033.html
- https://snyk.io/vuln/SNYK-JS-DOJOX-548257%2C
- https://github.com/advisories/GHSA-pg97-ww7h-5mjr
- https://github.com/dojo/dojox/pull/315
- https://github.com/dojo/dojox/commit/abd033a787c718abc1a390f480ac3ea61288e5ee
- https://nvd.nist.gov/vuln/detail/CVE-2019-10785
- https://snyk.io/vuln/SNYK-JS-DOJOX-548257
- https://snyk.io/vuln/SNYK-JS-DOJOX-548257,