GHSA-g8q2-24jh-5hpc: Jquery ui High Severity Vulnerability That Affects Vulnerability
HIGHGHSA-g8q2-24jh-5hpc is a HIGH high severity vulnerability that affects vulnerability (General Security Weakness) affecting Jquery ui libraries in the npm ecosystem. The issue involves high severity vulnerability that affects jquery-ui. Remediation is available by upgrading affected packages to version 1.12.0, 6.0.0.
GHSA-g8q2-24jh-5hpc at a Glance
How to Fix GHSA-g8q2-24jh-5hpc
To remediate this vulnerability, upgrade all affected Jquery ui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install jquery-ui@1.12.0
Upgrade jQuery.UI.Combined to 1.12.0
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>jquery-ui</artifactId>
<version>1.12.0</version>
</dependency>
Upgrade jquery-ui-rails to 6.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls jquery-ui
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-g8q2-24jh-5hpc, inspect your project dependencies using npm:
npm ls jquery-ui
Analyze the terminal output to locate any version of Jquery ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.12.0), your application is affected.
Note: The npm ls jquery-ui command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Jquery ui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-g8q2-24jh-5hpc Affected Jquery ui Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
jquery-ui
|
npm |
< 1.12.0
|
1.12.0
|
|
jQuery.UI.Combined
|
NuGet |
< 1.12.0
|
1.12.0
|
|
org.webjars.npm:jquery-ui
|
Maven |
< 1.12.0
|
1.12.0
|
|
jquery-ui-rails
|
RubyGems |
< 6.0.0
|
6.0.0
|
References
Frequently Asked Questions
What is GHSA-g8q2-24jh-5hpc?
Which Jquery ui versions are affected?
What version fixes GHSA-g8q2-24jh-5hpc?
Is jquery-ui affected?
Is jQuery.UI.Combined affected?
What CWE is associated with GHSA-g8q2-24jh-5hpc?
How can I check npm dependencies for GHSA-g8q2-24jh-5hpc?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g8q2-24jh-5hpc",
"modified" : "2023-09-26T18:29:18Z",
"published" : "2018-07-27T14:47:52Z",
"withdrawn" : "2020-06-16T21:36:34Z",
"aliases" : [ ],
"summary" : "High severity vulnerability that affects jquery-ui",
"details" : "Withdrawn, accidental duplicate publish.\n\nCross-site scripting (XSS) vulnerability in jQuery UI before 1.12.0 might allow remote attackers to inject arbitrary web script or HTML via the closeText parameter of the dialog function.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "jquery-ui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "jQuery.UI.Combined"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.webjars.npm:jquery-ui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.12.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "jquery-ui-rails"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-7103"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-g8q2-24jh-5hpc"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:36:34Z",
"nvd_published_at" : null
}
}