Every CVE Search/ Get API key

CVE-2019-10785

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

6.1 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

1.85%Down 1.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.1

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.

Record
CVE-2019-10785
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-10785
Updated
2026-11-02
EUVDEUVD-2020-0309 No score

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.

Record
EUVD-2020-0309
Updated
2026-11-03
GitHub AdvisoriesGHSA-pg97-ww7h-5mjr 6.1

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:

Record
GHSA-pg97-ww7h-5mjr
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 6.1

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.

Record
CVE-2019-10785
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2019-10785 6.1

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.

Record
DEBIAN-CVE-2019-10785
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
Show 4 moreShow less
OSVGHSA-pg97-ww7h-5mjr 6.1

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:

Record
GHSA-pg97-ww7h-5mjr
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVUBUNTU-CVE-2019-10785 6.1

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.

Record
UBUNTU-CVE-2019-10785
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVMGASA-2020-0126 No score

Updated dojo packages fix security vulnerability

Updated dojo package fixes security vulnerability:

dojox was vulnerable to Cross-site Scripting. This was due to dojox.xmpp.util.xmlEncode only encoding the first occurrence of each character, not all of them (CVE-2019-10785).

Record
MGASA-2020-0126
Updated
2026-11-02
OSVUSN-7569-1 No score

dojo vulnerabilities

It was discovered that Dojo did not correctly handle DataGrids. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-15494)

It was discovered that Dojo was vulnerable to prototype pollution. An attacker could possibly use this issue to execute arbitrary code. (CVE-2021-23450)

Jonathan Leitschuh discovered that Dojo did not correctly sanitize certain inputs. An attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2019-10785, CVE-2020-4051)

Record
USN-7569-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
dojox
npm
before 1.11.9
1.11.9
dojox
npm
1.12.0 up to 1.12.7
1.12.7
dojox
npm
1.13.0 up to 1.13.6
1.13.6
dojox
npm
1.14.0 up to 1.14.5
1.14.5
dojox
npm
1.15.0 up to 1.15.2
1.15.2
dojox
npm
1.16.0 to 1.16.0
1.16.1
dojo
Debian:12
before 1.15.2+dfsg1-1
1.15.2+dfsg1-1
dojo
Debian:13
before 1.15.2+dfsg1-1
1.15.2+dfsg1-1
dojo
Debian:14
before 1.15.2+dfsg1-1
1.15.2+dfsg1-1
dojo
Debian:8
before 1.10.2+dfsg-1+deb8u2, plus listed versions
1.10.2+dfsg-11.10.2+dfsg-1+deb8u1
1.10.2+dfsg-1+deb8u2
Show 8 moreShow less
Affected packages
PackageAffectedFixed
dojox
npm
1.16.0 up to 1.16.1
1.16.1
dojo
Mageia:7
before 1.14.5-1.mga7
1.14.5-1.mga7
dojo
Ubuntu:Pro:16.04:LTS
before 1.10.4+dfsg-2ubuntu0.1~esm1, plus listed versions
1.10.4+dfsg-2
1.10.4+dfsg-2ubuntu0.1~esm1
dojo
Ubuntu:18.04:LTS
All versions, plus listed versions
1.11.0+dfsg-1
None known
dojo
Ubuntu:Pro:20.04:LTS
before 1.15.0+dfsg1-1ubuntu0.1~esm1, plus listed versions
1.14.2+dfsg1-11.15.0+dfsg1-1
1.15.0+dfsg1-1ubuntu0.1~esm1
dojo
Ubuntu:Pro:16.04:LTS
From an advisory covering 4 CVEs
before 1.10.4+dfsg-2ubuntu0.1~esm1, plus listed versions
1.10.4+dfsg-2
1.10.4+dfsg-2ubuntu0.1~esm1
dojo
Ubuntu:Pro:20.04:LTS
From an advisory covering 4 CVEs
before 1.15.0+dfsg1-1ubuntu0.1~esm1, plus listed versions
1.14.2+dfsg1-11.15.0+dfsg1-1
1.15.0+dfsg1-1ubuntu0.1~esm1
dojo
Ubuntu:22.04:LTS
From an advisory covering 4 CVEs
before 1.15.4+dfsg1-1ubuntu0.1, plus listed versions
1.15.4+dfsg1-1
1.15.4+dfsg1-1ubuntu0.1

History

History
RecordedChangedSources
affected, facts
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-10785 is a medium vulnerability (CVSS 6.1) in Dojo Dojox, published February 13, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.85%, the 79th percentile. Fixed in dojox 1.11.9.

References

Show 13 moreShow less
MoveEnter Open