Cross-site Scripting (XSS) Affecting node-jquery package, versions <3.5.0+dfsg-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
8.76% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-NODEJQUERY-1554936
  • published30 Apr 2020
  • disclosed29 Apr 2020

Introduced: 29 Apr 2020

CVE-2020-11022  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:12 node-jquery to version 3.5.0+dfsg-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-jquery package and not the node-jquery package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

References

CVSS Scores

version 3.1