Cross-site Scripting (XSS) Affecting components/jquery package, versions <3.5.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked
EPSS
83.83% (100th 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-PHP-COMPONENTSJQUERY-15202446
  • published4 Feb 2026
  • disclosed10 Apr 2020
  • creditMasato Kinugawa

Introduced: 10 Apr 2020

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

How to fix?

Upgrade components/jquery to version 3.5.1 or higher.

Overview

components/jquery is a jQuery JavaScript Library

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Passing HTML containing <option> elements 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.

NOTE: This vulnerability was also assigned CVE-2020-23064.

CVSS Base Scores

version 3.1