GHSA-g8q2-24jh-5hpc: Jquery ui High Severity Vulnerability That Affects Vulnerability

HIGH
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-g8q2-24jh-5hpc
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Jquery ui
Package Ecosystem npm
Published Date
Last Updated

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.

jquery-ui fixed: 1.12.0
npm install jquery-ui@1.12.0
jQuery.UI.Combined fixed: 1.12.0
Upgrade jQuery.UI.Combined to 1.12.0
org.webjars.npm:jquery-ui fixed: 1.12.0
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>jquery-ui</artifactId>
    <version>1.12.0</version>
</dependency>
jquery-ui-rails fixed: 6.0.0
Upgrade jquery-ui-rails to 6.0.0
Verify Direct and Transitive Dependencies

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

Withdrawn, accidental duplicate publish. Cross-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.

GHSA-g8q2-24jh-5hpc Affected Jquery ui Versions

4 component(s)
Fixed Versions:
1.12.06.0.0
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?
GHSA-g8q2-24jh-5hpc is a security vulnerability in Jquery ui involving High severity vulnerability that affects jquery-ui under General Security Weakness.
Which Jquery ui versions are affected?
Affected versions include releases prior to 1.12.0, 6.0.0 across affected packages: jquery-ui, jQuery.UI.Combined, org.webjars.npm:jquery-ui, jquery-ui-rails.
What version fixes GHSA-g8q2-24jh-5hpc?
Upgrading to 1.12.0, 6.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jquery-ui affected?
Yes, jquery-ui is affected in releases prior to 1.12.0. Upgrade your dependency to 1.12.0 or later.
Is jQuery.UI.Combined affected?
Yes, jQuery.UI.Combined is affected in releases prior to 1.12.0. Upgrade your dependency to 1.12.0 or later.
What CWE is associated with GHSA-g8q2-24jh-5hpc?
GHSA-g8q2-24jh-5hpc is classified under General Security Weakness.
How can I check npm dependencies for GHSA-g8q2-24jh-5hpc?
Run the dependency tree command: 'npm ls jquery-ui'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}