VDB
Sign up
MEDIUM6.1

GHSA-pg97-ww7h-5mjr

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

Quick fix

GHSA-pg97-ww7h-5mjr — dojox: upgrade to the fixed version with the command below.

npm install dojox@1.11.9

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: * Open an issue in [dojo/dojox](https://github.com/dojo/dojox/)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/dojox
Introduced in: 0Fixed in: 1.11.9
Fixnpm install dojox@1.11.9
npm/dojox
Introduced in: 1.12.0Fixed in: 1.12.7
Fixnpm install dojox@1.12.7
npm/dojox
Introduced in: 1.13.0Fixed in: 1.13.6
Fixnpm install dojox@1.13.6
npm/dojox
Introduced in: 1.14.0Fixed in: 1.14.5
Fixnpm install dojox@1.14.5
npm/dojox
Introduced in: 1.15.0Fixed in: 1.15.2
Fixnpm install dojox@1.15.2
npm/dojox
Introduced in: 1.16.0Fixed in: 1.16.1
Fixnpm install dojox@1.16.1

References