中危 jqueryui jquery_ui 在web页面生成时对输入的转义处理不恰当(跨站脚本)

CVE编号

CVE-2022-31160

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-07-21
漏洞描述
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`.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 jqueryui jquery_ui * Up to
(excluding)
1.13.2
运行在以下环境
系统 debian_10 jqueryui * Up to
(excluding)
1.12.1+dfsg-5+deb10u1
运行在以下环境
系统 debian_12 jqueryui * Up to
(excluding)
1.13.2+dfsg-1
运行在以下环境
系统 fedora_35 js-jquery-ui * Up to
(excluding)
1.13.2-1.fc35
运行在以下环境
系统 fedora_36 js-jquery-ui * Up to
(excluding)
1.13.2-1.fc36
运行在以下环境
系统 fedora_37 js-jquery-ui * Up to
(excluding)
1.13.2-1.fc37
运行在以下环境
系统 fedora_EPEL_7 js-jquery-ui * Up to
(excluding)
1.13.2-1.el7
运行在以下环境
系统 fedora_EPEL_8 js-jquery-ui * Up to
(excluding)
1.13.2-1.el8
运行在以下环境
系统 fedora_EPEL_9 js-jquery-ui * Up to
(excluding)
1.13.2-1.el9
运行在以下环境
系统 ubuntu_20.04 jqueryui * Up to
(excluding)
1.12.1+dfsg-5ubuntu0.20.04.1
阿里云评分
5.1
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
阿里云安全产品覆盖情况