{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-10785","id":"CVE-2019-10785","title":"XSS in dojox due to insufficient escape in dojox.xmpp.util.xmlEncode ","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.","descriptionLong":"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.","published":"2020-02-13T16:02:46.000Z","updated":"2026-10-20T10:51:36.922271528Z","reserved":"2019-04-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["dojox"],"affectedProducts":[{"vendor":"n/a","product":"dojox","defaultStatus":null,"versions":[{"status":"affected","version":"all versions before version 1.16.1, 1.15.2, 1.14.5, 1.13.6, 1.12.7 and 1.11.9."}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"dojox","purl":"pkg:npm/dojox","ranges":["<1.11.9",">=1.12.0 <1.12.7",">=1.13.0 <1.13.6",">=1.14.0 <1.14.5",">=1.15.0 <1.15.2",">=1.16.0 <1.16.1"],"fixed":["1.11.9","1.12.7","1.13.6","1.14.5","1.15.2","1.16.1"],"advisory":"GHSA-pg97-ww7h-5mjr"}],"cwes":["CWE-79"],"aliases":["GHSA-pg97-ww7h-5mjr","SNYK-JS-DOJOX-548257,"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-DOJOX-548257%2C","tags":["x_refsource_MISC","x_transferred","advisory"]},{"url":"https://github.com/dojo/dojox/security/advisories/GHSA-pg97-ww7h-5mjr","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00033.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10785","tags":["advisory"]},{"url":"https://github.com/dojo/dojox/pull/315","tags":["web"]},{"url":"https://github.com/dojo/dojox/commit/abd033a787c718abc1a390f480ac3ea61288e5ee","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-DOJOX-548257","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-DOJOX-548257,","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01845,"epssPercentile":0.79501,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-10785","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10785","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-10785","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pg97-ww7h-5mjr","ok":true,"note":"GHSA-pg97-ww7h-5mjr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-10785","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}