JQuery < 3.5.0 XSS

medium Nessus Plugin ID 182682

Synopsis

The remote web server is affected by cross site scripting vulnerability.

Description

In JQuery version greater than or equal to 1.0.3 and before 3.5.0, 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. Initial CVE-2020-23064 mentioned in the advisory has been deprecated as duplicate and replaced with CVE-2020-11023.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to JQuery version 3.5.0 or later.

See Also

https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/

https://security.snyk.io/vuln/SNYK-JS-JQUERY-565129

Plugin Details

Severity: Medium

ID: 182682

File Name: jquery_3_5_0.nasl

Version: 1.4

Type: remote

Published: 10/6/2023

Updated: 5/29/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2020-11023

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Required KB Items: installed_sw/jquery

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/10/2020

Vulnerability Publication Date: 4/10/2020

Reference Information

CVE: CVE-2020-11023

IAVB: 2023-B-0076