Advisory

GHSA-pg97-ww7h-5mjr

Also known as: CVE-2019-10785, SNYK-JS-DOJOX-548257,

Summary

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

Details

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:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-02-13 22:21 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

dojox

npm · All systems

Affected

  • introduced 0, fixed 1.11.9 (semver)

Fixed versions

1.11.9

Fix

dojox

npm · All systems

Affected

  • introduced 1.12.0, fixed 1.12.7 (semver)

Fixed versions

1.12.7

Fix

dojox

npm · All systems

Affected

  • introduced 1.13.0, fixed 1.13.6 (semver)

Fixed versions

1.13.6

Fix

dojox

npm · All systems

Affected

  • introduced 1.14.0, fixed 1.14.5 (semver)

Fixed versions

1.14.5

Fix

dojox

npm · All systems

Affected

  • introduced 1.15.0, fixed 1.15.2 (semver)

Fixed versions

1.15.2

Fix

dojox

npm · All systems

Affected

  • introduced 1.16.0, fixed 1.16.1 (semver)

Fixed versions

1.16.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences