{"id":"CVE-2019-10785","published":"2020-02-13T16:02:46Z","modified":"2024-08-04T22:32:01Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01845,"percentile":0.79564,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-DOJOX-548257%2C","tags":["x_refsource_MISC"]},{"url":"https://github.com/dojo/dojox/security/advisories/GHSA-pg97-ww7h-5mjr","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00033.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":15.91}]},"affectedVersions":[{"vendor":"n/a","product":"dojox","versions":["all versions before version 1.16.1, 1.15.2, 1.14.5, 1.13.6, 1.12.7 and 1.11.9."]}],"affected":[{"ecosystem":"npm","package":"dojox","vulnerableRanges":["<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"],"patched":["1.11.9","1.12.7","1.13.6","1.14.5","1.15.2","1.16.1"],"from":["GHSA-pg97-ww7h-5mjr"],"provenance":"source"}],"summary":{"text":"The flaw is in the dojox.xmpp.util.xmlEncode function of the dojox package, where the encoder only escapes the first occurrence of each special character instead of every occurrence. An attacker who can get crafted input passed through this encoding can potentially inject script into a page, which is a cross-site scripting condition; the required network access, authentication, user interaction, and configuration are not specified in the available record.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:45Z"},"euvd":{"id":"EUVD-2020-0309","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-15494","published":"2018-08-18","fixed":"1.14.0","kev":false,"link":{"from":"CVE-2018-15494","to":"CVE-2019-10785","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:dojox","fromFixed":"1.14.0","toFixed":"1.14.5","daysApart":544}]}},{"cve":"CVE-2019-10785","published":"2020-02-13","fixed":"1.16.1","kev":false},{"cve":"CVE-2020-5259","published":"2020-03-10","fixed":"1.16.2","kev":false,"link":{"from":"CVE-2019-10785","to":"CVE-2020-5259","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:dojox","fromFixed":"1.11.9","toFixed":"1.11.10","daysApart":26},{"kind":"similar","provenance":"machine","score":0.2,"basis":"same package + description similarity"}]}}],"package":"npm:dojox"}}