llamaCVEVulnerability Intelligence
/
jquery-ui

CVE-2022-31160

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

Texto original en inglés · Ver en español

Parche disponiblecross-site scripting (XSS)
Descargar PNG JSON
CVSS 3.1
6.1
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos11 fuente
Parche2 versionesPrimer parche a -6 d de la divulgación
Exposición1.585 dDesde la divulgación, 20 jul 2022
Detección1.581 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Ojo con los rangos de versión, son traicioneros.Si sale un exploit, la subo de categoría. Atento.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 1.13.2
Parche 8.0.0
Monitoreo
Detectada
14 jul 22
20 jul 22
22 abr 25
30 abr 25
17 nov 26
21 nov 26
14 jul 22
15 ago 23
16 sept 24
19 oct 25
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.13.2 jquery-ui · -6 d desde divulgación
Divulgación Publicada CVE-2022-31160 divulgada · CVSS 6.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Remediación Parche 8.0.0 jquery-ui-rails · 1015 d desde divulgación
Monitoreo Detectada Ingresó al índice
Resumen

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`.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 8.3 (muy fácil) · +1.7 por PoC pública.
Versiones

Rangos afectados

Afectada Corregida Última
jquery-ui · org.webjars.npm:jquery-ui · jQuery.UI.Combined< 1.13.2
jquery-ui-rails< 8.0.0
1.13.2
1.14.1
1.14.2
8.0.0
8.0.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmjquery-ui
Corregida 1.13.2 -6 d 1.14.2 no afectada
mavenorg.webjars.npm:jquery-ui
Corregida 1.13.2 -1 d 1.14.2 no afectada
rubygemsjquery-ui-rails
Corregida 8.0.0 1015 d 8.0.1 no afectada
nugetjQuery.UI.Combined
Corregida 1.13.2 8 d 1.14.1 no afectada
Versiones corregidas1.13.28.0.0
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
CyberOne-TeamARES/jquery-cve-2022-31160
1
Ver los 1 repositorios de GitHub
CyberOne-TeamARES/jquery-cve-2022-31160

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QB2FJQXCNHO32VGVOC6DY6IPGVE4VDU6/
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6XBR3G3JR5ZIOJDO4224M3INXDS2VFDD/
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J5LGNTICB5BRFAG3DHVVELS6H3CZSQMO/
Fabricantehttps://github.com/jquery/jquery-ui/security/advisories/GHSA-h6gj-6jjq-h8g9
Exploithttps://github.com/CyberOne-TeamARES/jquery-cve-2022-31160
Otrahttps://github.com/jquery/jquery-ui/commit/8cc5bae1caa1fcf96bf5862c5646c787020ba3f9
Otrahttps://blog.jqueryui.com/2022/07/jquery-ui-1-13-2-released/
Otrahttps://www.drupal.org/sa-contrib-2022-052
Otrahttps://security.netapp.com/advisory/ntap-20220909-0007/
Otrahttps://lists.debian.org/debian-lts-announce/2022/12/msg00015.html

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.