XSS in dojox due to insufficient escape in dojox.xmpp.util.xmlEncode
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | dojox | < 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, >= 1.16.0, < 1.16.1 | 1.11.9, 1.12.7, 1.13.6, 1.14.5, 1.15.2, 1.16.1 |
References
- https://github.com/dojo/dojox/security/advisories/GHSA-pg97-ww7h-5mjr
- https://nvd.nist.gov/vuln/detail/CVE-2019-10785
- https://github.com/dojo/dojox/pull/315
- https://github.com/dojo/dojox/commit/abd033a787c718abc1a390f480ac3ea61288e5ee
- https://lists.debian.org/debian-lts-announce/2020/02/msg00033.html
- https://snyk.io/vuln/SNYK-JS-DOJOX-548257
- https://snyk.io/vuln/SNYK-JS-DOJOX-548257,
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
dojox- Disclosed
- 13.02.2020
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-pg97-ww7h-5mjr - CC BY 4.0
Vulnerability history: dojox
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 10.2018 03.2020
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- Medium 1
- Low 1
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 2
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
XSS in dojox due to insufficient escape in dojox.xmpp.util.xmlEncode this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.