> CVE-2022-31160 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2022-07-20 20:15
MODIFIED
2024-11-21 07:04
CVSS_SCORE V3
6.1
EPSS (Prob. Exploit)
2.69%
Top 13.9%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-09-22 OSV 🔗 2026-09-20

> DESCRIPTION

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of jQuery. Versions prior to 1.13.2 are potentially vulnerable to cross-site scripting. Initializing a checkboxradio widget on an input enclosed within a label makes that parent label contents considered as the input label. Calling `.checkboxradio( "refresh" )` on such a widget and the initial HTML contained encoded HTML entities will make them erroneously get decoded. This can lead to potentially executing JavaScript code. The bug has been patched in jQuery UI 1.13.2. To remediate the issue, someone who can change the initial HTML can wrap all the non-input contents of the `label` in a `span`.

> AFFECTED_PRODUCTS

Debian - Debian Linux
Version: 10.0
Fedoraproject - Fedora
Version: 35
Fedoraproject - Fedora
Version: 36
Fedoraproject - Fedora
Version: 37
Jqueryui - Jquery Ui
< 1.13.2
Drupal - Jquery Ui Checkboxradio
Version: 8.x-1.0
Drupal - Jquery Ui Checkboxradio
Version: 8.x-1.1
Drupal - Jquery Ui Checkboxradio
Version: 8.x-1.2
Drupal - Jquery Ui Checkboxradio
Version: 8.x-1.3

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-h6gj-6jjq-h8g9 MODERATE

jQuery UI vulnerable to XSS when refreshing a checkboxradio with an HTML-like initial text label

AFFECTED PACKAGES:
RUBYGEMS / jquery-ui-rails
< 8.0.0
Fixed in: 8.0.0
NUGET / jQuery.UI.Combined
< 1.13.2
Fixed in: 1.13.2
MAVEN / org.webjars.npm:jquery-ui
< 1.13.2
Fixed in: 1.13.2
NPM / jquery-ui
< 1.13.2
Fixed in: 1.13.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

jQuery UI contains potential XSS vulnerability when refreshing a checkboxradio with an HTML-like initial text label

AFFECTED PACKAGES:
Unknown / Unknown
24 versions affected
ALIASES:
GHSA-h6gj-6jjq-h8g9

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/07/2022 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:34
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME