Skip to content
Fencer Vulns
medium 6.1

CVE-2019-10785 json

XSS in dojox due to insufficient escape in dojox.xmpp.util.xmlEncode

published 2020-02-13 6 y ago modified 2026-09-10 1 mo ago 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

Vendor 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 dojo
    affected: 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 more
    not 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-08).

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

Sources

Fencer Vulns 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.