# CVE-2019-10785: libjs-dojo-core: 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...

CVE-2019-10785 is fixed in 4 products on 1 platform, first by libjs-dojo-core 1.15.0+dfsg1-1ubuntu0.1~esm1, released December 17, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2019-10785
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0185
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 13, 2020

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libjs-dojo-core Ubuntu 20.04 LTS (focal) | 1.15.0+dfsg1-1ubuntu0.1~esm1 | [libjs-dojo-core 1.15.0+dfsg1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjs-dojo-core-1.15.0-dfsg1-1ubuntu0.1-esm1.md) | Dec 17, 2021 |
| Linux | libjs-dojo-dijit Ubuntu 20.04 LTS (focal) | 1.15.0+dfsg1-1ubuntu0.1~esm1 | [libjs-dojo-dijit 1.15.0+dfsg1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjs-dojo-dijit-1.15.0-dfsg1-1ubuntu0.1-esm1.md) | Dec 17, 2021 |
| Linux | libjs-dojo-dojox Ubuntu 20.04 LTS (focal) | 1.15.0+dfsg1-1ubuntu0.1~esm1 | [libjs-dojo-dojox 1.15.0+dfsg1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjs-dojo-dojox-1.15.0-dfsg1-1ubuntu0.1-esm1.md) | Dec 17, 2021 |
| Linux | shrinksafe Ubuntu 20.04 LTS (focal) | 1.15.0+dfsg1-1ubuntu0.1~esm1 | [shrinksafe 1.15.0+dfsg1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-shrinksafe-1.15.0-dfsg1-1ubuntu0.1-esm1.md) | Dec 17, 2021 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
