CVE-2019-10785
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2019-10785 affects dojox, a JavaScript framework component, in all versions before 1.16.1, 1.15.2, 1.14.5, 1.13.6, 1.12.7, and 1.11.9. The vulnerability was discovered in 2019 and is related to a Cross-site Scripting (XSS) issue in the dojox.xmpp.util component (CVE Mitre, GitHub Advisory).

Technical details

The vulnerability exists due to insufficient XML escaping in the dojox.xmpp.util.xmlEncode function. The function only encodes the first occurrence of each special character instead of encoding all occurrences, which can lead to XSS vulnerabilities. The issue specifically affects the dojox/xmpp and dojox/dtl components (GitHub Advisory).

Impact

The vulnerability potentially enables Cross-site Scripting (XSS) attacks against applications using the affected versions of dojox, particularly those implementing the XMPP functionality. This could allow attackers to execute malicious scripts in the context of the vulnerable application (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to the patched versions: 1.16.1, 1.15.2, 1.14.5, 1.13.6, 1.12.7, or 1.11.9. For users unable to upgrade immediately, the fix can be applied separately as a patch by implementing the changes from pull request #315. Users of Dojo 1.10.x and earlier versions should review the vulnerability and backport the changes as appropriate (GitHub Advisory, Debian Security).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management