Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. dojox
  4. ›
  5. CVE-2019-10785

CVE-2019-10785: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

February 13, 2020 (updated August 19, 2021)

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.

References

  • github.com/advisories/GHSA-pg97-ww7h-5mjr
  • github.com/dojo/dojox/commit/abd033a787c718abc1a390f480ac3ea61288e5ee
  • github.com/dojo/dojox/pull/315
  • github.com/dojo/dojox/security/advisories/GHSA-pg97-ww7h-5mjr
  • lists.debian.org/debian-lts-announce/2020/02/msg00033.html
  • nvd.nist.gov/vuln/detail/CVE-2019-10785
  • snyk.io/vuln/SNYK-JS-DOJOX-548257
  • snyk.io/vuln/SNYK-JS-DOJOX-548257,

Code Behaviors & Features

Detect and mitigate CVE-2019-10785 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.11.9, all versions starting from 1.12.0 before 1.12.7, all versions starting from 1.13.0 before 1.13.6, all versions starting from 1.14.0 before 1.14.5, all versions starting from 1.15.0 before 1.15.2, version 1.16.0

Fixed versions

  • 1.11.9
  • 1.12.7
  • 1.13.6
  • 1.14.5
  • 1.15.2
  • 1.16.1

Solution

Upgrade to versions 1.11.9, 1.12.7, 1.13.6, 1.14.5, 1.15.2, 1.16.1 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/dojox/CVE-2019-10785.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.