字号·· | 护眼
漏洞档案 · 中危

JQuery 跨站脚本(CVE-2020-11023)

CVE-2020-11023 别名:GHSA-JPCQ-CGW6-V4J6
CVSS 6.9 / 3.1 EPSS 84.9% CISA KEV 在野利用 公开 PoC · 6
综合风险77/ 100
CVSS6.9中危
EPSS84.9%30 天利用概率
机构收录时间2020-04-29更新 2026-12-01

研判简报

概述

jQuery 1.0.3 至 3.5.0 之前的版本在处理来自不可信来源、包含 <option> 元素的 HTML 时存在缺陷:即使该 HTML 已经过净化,将其传给 .html()、.append() 等 DOM 操纵方法仍可能执行不可信代码。该问题已在 jQuery 3.5.0 修复。任何在页面中引入旧版 jQuery 并将外部输入交给 DOM 操纵方法的站点都应关注,因为这会形成 XSS 攻击面,并可能被用于会话劫持。

严重性

CVSS 3.1 评分 6.9(medium),综合风险分 76.58/100;EPSS 30 天利用概率 84.9%(百分位 99.8%,日期 2026-11-27)。攻击面为前端 DOM 注入路径,属于 CWE-79。

利用状态

CISA KEV 已收录(收录日期 2025-01-23),KEV 要求动作期限为 2025-02-13;Exploit-DB 存在 1 条公开 PoC(EDB-49767,含两个 PoC 载荷,其中第二个仅影响 jQuery 3.x);CISA SSVC:automatable=no、exploitation=active、technical_impact=partial。核查日期 2026-11-27。材料未给出勒索软件关联信息与 Nuclei 模板状态。

受影响产品

jquery:jQuery >= 1.0.3, < 3.5.0。组件为 jQuery 核心的 DOM 操纵方法;部署形态材料未给出(参考链接涉及 Debian、Fedora、Oracle、NetApp、Drupal 等下游通告,说明影响面通过打包与集成扩散)。

修复版本

官方修复版本为 jQuery 3.5.0(厂商升级指南见 https://jquery.com/upgrade-guide/3.5/)。下游发行版与产品的具体修复版本材料未给出。

缓解措施

按 KEV 要求:依厂商说明应用缓解措施,若无可用缓解则停止使用该产品。可行替代动作包括升级至 3.5.0 或以上;在无法升级时避免将不可信 HTML(尤其含 <option> 元素)传入 .html()、.append() 等 DOM 操纵方法,或在传入前采用更严格的输入处理。材料未给出其他具体缓解配置。

响应步骤

  1. 盘点资产中使用 jQuery 的版本,确认是否落在 >= 1.0.3, < 3.5.0 区间。
  2. 排查代码中把外部输入传给 .html()、.append() 等 DOM 操纵方法的调用点,重点关注含 <option> 的 HTML 片段。
  3. 升级至 jQuery 3.5.0 或以上,并同步核对下游产品(Debian、Fedora、Oracle、NetApp、Drupal 等)通告中的修复版本。
  4. 无法立即升级时,按厂商说明应用缓解措施或停用受影响组件,并记录例外。
  5. 参照 EDB-49767 的两个 PoC 载荷进行验证与回归测试,确认净化逻辑不再被绕过。
  6. 检查前端日志与 WAF 记录中相关注入尝试,评估是否存在会话劫持迹象(对应 T1189、T1185)。

参考来源

  1. https://www.exploit-db.com/exploits/49767exploit,exploitdb
  2. https://www.debian.org/security/2020/dsa-4693vendor-advisory,vendor-advisory,x_transferred,advisory,euvd
  3. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QPN2L2XVQGUA2V5HNQJWHK3APSK3VN7K/vendor-advisory,vendor-advisory,x_transferred,advisory,euvd
  4. https://www.oracle.com/security-alerts/cpujul2020.htmlx_transferred,advisory,euvd
  5. https://jquery.com/upgrade-guide/3.5/x_transferred,advisory,euvd
  6. https://security.netapp.com/advisory/ntap-20200511-0006/x_transferred,advisory,euvd
  7. https://www.drupal.org/sa-core-2020-002x_transferred,advisory,euvd
  8. https://github.com/jquery/jquery/security/advisories/GHSA-jpcq-cgw6-v4j6x_transferred,advisory,euvd
  9. https://blog.jquery.com/2020/04/10/jquery-3-5-0-releasedx_transferred,advisory,euvd
  10. http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.htmlvendor-advisory,vendor-advisory,x_transferred,advisory,euvd
  11. https://security.gentoo.org/glsa/202007-03vendor-advisory,vendor-advisory,x_transferred,advisory,euvd
  12. http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.htmlvendor-advisory,vendor-advisory,x_transferred,advisory,euvd
  13. https://lists.apache.org/thread.html/r094f435595582f6b5b24b66fedf80543aa8b1d57a3688fbcc21f06ec%40%3Cissues.hive.apache.org%3Emailing-list,mailing-list,x_transferred,advisory,euvd
  14. https://lists.apache.org/thread.html/rf661a90a15da8da5922ba6127b3f5f8194d4ebec8855d60a0dd13248%40%3Cdev.hive.apache.org%3Emailing-list,mailing-list,x_transferred,advisory,euvd
  15. https://lists.apache.org/thread.html/r9c5fda81e4bca8daee305b4c03283dddb383ab8428a151d4cb0b3b15%40%3Cissues.hive.apache.org%3Emailing-list,mailing-list,x_transferred,advisory,euvd
  16. https://lists.apache.org/thread.html/ra3c9219fcb0b289e18e9ec5a5ebeaa5c17d6b79a201667675af6721c%40%3Cgitbox.hive.apache.org%3Emailing-list,mailing-list,x_transferred,advisory,euvd