cve.bz

CVE-2019-10785 Cross-site Scripting

6.1 mediumExploit referenceEPSS 1.8%Fix available

Medium (6.1). EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in dojox 1.11.9, 1.12.7, 1.13.6.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-10785 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-10785?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-10785?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-10785 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:dojoxfrom 1.11.0 before 1.11.9
linuxfoundation:dojoxfrom 1.12.0 before 1.12.7
linuxfoundation:dojoxfrom 1.13.0 before 1.13.6
linuxfoundation:dojoxfrom 1.14.0 before 1.14.5
linuxfoundation:dojoxfrom 1.15.0 before 1.15.2
linuxfoundation:dojoxfrom 1.16.0 before 1.16.1
debian:debian_linux8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pg97-ww7h-5mjrnpmdojox<1.11.91.11.9
GHSA-pg97-ww7h-5mjrnpmdojox>=1.12.0 <1.12.71.12.7
GHSA-pg97-ww7h-5mjrnpmdojox>=1.13.0 <1.13.61.13.6
GHSA-pg97-ww7h-5mjrnpmdojox>=1.14.0 <1.14.51.14.5
GHSA-pg97-ww7h-5mjrnpmdojox>=1.15.0 <1.15.21.15.2
GHSA-pg97-ww7h-5mjrnpmdojox>=1.16.0 <1.16.11.16.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8dojo1.10.2+dfsg-1+deb8u2DLA-2127-1
Debian12, 13, 14dojo1.15.2+dfsg1-1DEBIAN-CVE-2019-10785
Ubuntu18.04:LTSdojono fix listedUBUNTU-CVE-2019-10785
Ubuntu22.04:LTSdojo1.15.4+dfsg1-1ubuntu0.1USN-7569-1
UbuntuPro:16.04:LTSdojo1.10.4+dfsg-2ubuntu0.1~esm1UBUNTU-CVE-2019-10785 USN-7569-1
UbuntuPro:20.04:LTSdojo1.15.0+dfsg1-1ubuntu0.1~esm1UBUNTU-CVE-2019-10785 USN-7569-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw affects the XML encoding used on XMPP implementation at Dojo, although the FreeIPA versions shipped with Red Hat Enterprise Linux 6, 7 and 8 it doesn't make use of this specific API and are not affected by this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6ipaNot affected
Red Hat Enterprise Linux 7ipaNot affected
Red Hat Enterprise Linux 8idm:DL1/ipaNot affected
Red Hat Satellite 5dojoOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-10785.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON