CVE-2019-10785 json
XSS in dojox due to insufficient escape in dojox.xmpp.util.xmlEncode
published 6y ago modified last mo. also GHSA-pg97-ww7h-5mjr , EUVD-2020-0309
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
dojox 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.
Patch / fix
- npm dojox 1.11.9, 1.12.7, 1.13.6, 1.14.5, 1.15.2, 1.16.1
- linuxfoundation dojox 1.11.9, 1.12.7, 1.13.6, 1.14.5, 1.15.2, 1.16.1
- dojo Debian 14, Debian 13, Debian 12 1.15.2+dfsg1-1
debian advisories DEBIAN-CVE-2019-10785
- dojo Ubuntu Pro 16.04 LTS 1.10.4+dfsg-2ubuntu0.1~esm1
- dojo Ubuntu Pro 20.04 LTS 1.15.0+dfsg1-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2019-10785
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/dojo/dojox@abd033a commit
- github.com/dojo/dojox#315 pull request
Is CVE-2019-10785 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-10785 updated cvss 6.1
dojo: cross-site scripting via dojox.xmpp.util.xmlEncode
-
Red Hat Satellite 5 dojoaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 6 ipa, ipa-client, ipa-python, ipa-server, ipa-admintools, ipa-server-selinux, +1 more Red Hat Enterprise Linux 7 ipa, ipa-client, ipa-common, ipa-python, ipa-server, ipa-admintools, +8 more Red Hat Enterprise Linux 8 ipa, ipa-client, ipa-common, ipa-server, ipa-selinux, ipa-client-epn, +10 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.85% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/dojo/dojox/security/advisories/GHSA-pg97-ww7h-5mjr referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | 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 |
Affected products
- n/a dojox
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/dojo/dojox/pull/315
web
-
github.com
/dojo/dojox/commit/abd033a787c718abc1a390f480ac3ea61288e5ee
web
-
github.com
/dojo/dojox/security/advisories/GHSA-pg97-ww7h-5mjr
web, exploit, third-party-advisory
- snyk.io /vuln/SNYK-JS-DOJOX-548257%2C
-
lists.debian.org
/debian-lts-announce/2020/02/msg00033.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-10785
advisory
-
snyk.io
/vuln/SNYK-JS-DOJOX-548257
web
-
snyk.io
/vuln/SNYK-JS-DOJOX-548257,
web
Sources
- CVE List CVE-2019-10785
- GitHub Advisory GHSA-pg97-ww7h-5mjr
- NVD CVE-2019-10785
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.