{"id":"UBUNTU-CVE-2019-10785","details":"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.","modified":"2026-02-04T04:23:10.731113Z","published":"2020-02-13T17:15:00Z","related":["USN-7569-1"],"upstream":["CVE-2019-10785"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-10785"},{"type":"REPORT","url":"https://github.com/dojo/dojox/security/advisories/GHSA-pg97-ww7h-5mjr"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-DOJOX-548257,"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-10785"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7569-1"}],"affected":[{"package":{"name":"dojo","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/dojo@1.10.4+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.4+dfsg-2ubuntu0.1~esm1"}]}],"versions":["1.10.4+dfsg-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libjs-dojo-core","binary_version":"1.10.4+dfsg-2ubuntu0.1~esm1"},{"binary_name":"libjs-dojo-dijit","binary_version":"1.10.4+dfsg-2ubuntu0.1~esm1"},{"binary_name":"libjs-dojo-dojox","binary_version":"1.10.4+dfsg-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-10785.json"}},{"package":{"name":"dojo","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/dojo@1.11.0+dfsg-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-dojo-core","binary_version":"1.11.0+dfsg-1"},{"binary_name":"libjs-dojo-dijit","binary_version":"1.11.0+dfsg-1"},{"binary_name":"libjs-dojo-dojox","binary_version":"1.11.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-10785.json"}},{"package":{"name":"dojo","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/dojo@1.15.0+dfsg1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15.0+dfsg1-1ubuntu0.1~esm1"}]}],"versions":["1.14.2+dfsg1-1","1.15.0+dfsg1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libjs-dojo-core","binary_version":"1.15.0+dfsg1-1ubuntu0.1~esm1"},{"binary_name":"libjs-dojo-dijit","binary_version":"1.15.0+dfsg1-1ubuntu0.1~esm1"},{"binary_name":"libjs-dojo-dojox","binary_version":"1.15.0+dfsg1-1ubuntu0.1~esm1"},{"binary_name":"shrinksafe","binary_version":"1.15.0+dfsg1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-10785.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}