GHSA-pg97-ww7h-5mjr

Suggest an improvement
Source
https://github.com/advisories/GHSA-pg97-ww7h-5mjr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-pg97-ww7h-5mjr/GHSA-pg97-ww7h-5mjr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pg97-ww7h-5mjr
Aliases
Related
Published
2020-02-13T22:21:06Z
Modified
2025-01-14T07:14:26.531140Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
XSS in dojox due to insufficient escape in dojox.xmpp.util.xmlEncode
Details

Impact

What kind of vulnerability is it? Who is impacted?

Potential XSS vulnerability for users of dojox/xmpp and dojox/dtl.

Patches

Has the problem been patched? What versions should users upgrade to?

Yes, patches are available for the 1.11 through 1.16 versions. Users should upgrade to one of these versions of Dojo:

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

Users of Dojo 1.10.x and earlier should review this change and determine if it impacts them, and backport the change as appropriate.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

The change applied in https://github.com/dojo/dojox/pull/315 could get added separately as a patch.

For more information

If you have any questions or comments about this advisory: * Open an issue in dojo/dojox

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-02-13T22:20:36Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

npm / dojox

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.9

npm / dojox

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.12.0
Fixed
1.12.7

npm / dojox

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.13.0
Fixed
1.13.6

npm / dojox

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.14.0
Fixed
1.14.5

npm / dojox

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.15.0
Fixed
1.15.2

npm / dojox

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.16.0
Fixed
1.16.1

Affected versions

1.*

1.16.0