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

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

CVE-2020-11022 别名:GHSA-GXR4-XJJ5-5PX2
CVSS 6.9 / 3.1 EPSS 99.2% CISA KEV 在野利用 公开 PoC · 3
综合风险79/ 100
CVSS6.9中危
EPSS99.2%30 天利用概率
机构收录时间2020-04-29更新 2026-12-01

研判简报

概述

jQuery 1.12.0 起至 3.5.0 之前,将来自不可信来源的 HTML(即使已经过净化)传给 jQuery 的 DOM 操作方法(如 .html()、.append() 等),仍可能执行不可信代码。问题根源在于 jQuery 的 HTML 解析与 DOM 操作逻辑未完全阻断恶意构造内容,属于 CWE-79 跨站脚本类缺陷。使用受影响版本 jQuery 的前端应用、嵌入式 Web 界面与依赖 jQuery 的第三方组件均可能受波及。该漏洞已列入 CISA KEV,说明存在在野利用关注,安全团队应将其纳入资产排查范围。

严重性

CVSS 3.1 评分 6.9(medium),综合风险分 79.44/100;EPSS 30 天利用概率 99.2%(百分位 100.0%,日期 2026-11-27)。攻击面为通过 DOM 操作方法注入不可信 HTML 的 Web 前端路径,利用需要诱导用户交互或控制可注入内容源。

利用状态

CISA KEV 已收录(收录日期 2021-01-21);存在 Exploit-DB/公开 PoC(2 条);CISA SSVC 评估为 automatable=no / exploitation=none / technical_impact=partial。核查日期 2026-11-27。参考材料中的 VulnCheck XDB 页面仅展示通用漏洞列表,未给出与本编号直接对应的 PoC 条目,材料未给出更多利用细节;Nuclei 状态材料未给出。

受影响产品

jquery:jQuery 版本区间 >= 1.12.0, < 3.5.0。组件为 jQuery 核心库的 DOM 操作方法;部署形态材料未给出(前端库,通常随应用打包或经 CDN 引入)。

修复版本

官方修复版本为 jQuery 3.5.0(材料明确该问题在 3.5.0 修补)。补丁细节材料未给出。

缓解措施

按 KEV 要求动作:按厂商说明应用修复或缓解措施,若无法修复或缓解则应停用该产品。不能立即升级时,可避免将不可信来源 HTML(即使已净化)传入 .html()、.append() 等 DOM 操作方法,改用安全的文本赋值方式;具体替代方案材料未给出。

响应步骤

  1. 盘点资产中使用 jQuery 的版本,确认是否落在 >= 1.12.0, < 3.5.0 区间。
  2. 对受影响实例升级至 jQuery 3.5.0 或更高版本,并验证依赖组件的兼容性。
  3. 排查代码中向 .html()、.append() 等方法传入外部或用户可控 HTML 的调用点。
  4. 复核现有 HTML 净化流程,确认净化后内容仍不进入上述 DOM 操作方法。
  5. 关注 KEV 与公开 PoC 动态,按组织策略评估临时停用或隔离受影响界面。
  6. 记录处置结果与未修复资产,纳入后续复查。

参考来源

  1. https://www.tenable.com/blog/daisy-chaining-how-vulnerabilities-can-be-greater-than-the-sum-of-their-partskev
  2. https://www.securin.io/wp-content/uploads/2023/08/2023-State-of-Cybersecurity-for-Medical-Devices-and-Healthcare-Systems.pdfkev
  3. https://vulncheck.com/xdb/fd3d077b394fexploit,vulncheck_xdb
  4. https://github.com/ossf-cve-benchmark/CVE-2020-11022poc,github
  5. https://vulncheck.com/xdb/3e25a29756c9exploit,vulncheck_xdb
  6. https://github.com/0xAJ2K/CVE-2020-11022-CVE-2020-11023poc,github,exploit,poc_github
  7. https://vulncheck.com/kev/cve-2020-11022advisory,vulncheck_kev
  8. https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2x_refsource_CONFIRM,x_transferred,advisory,euvd
  9. https://github.com/maximebf/php-debugbar/issues/447x_refsource_MISC,advisory,euvd
  10. https://github.com/jquery/jquery/commit/1d61fd9407e6fbe82fe55cb0b938307aa0791f77x_refsource_MISC,x_transferred,advisory,euvd
  11. https://github.com/maximebf/php-debugbar/commit/847216e60544258c881f2733d699bbcfeefac0fcx_refsource_MISC,advisory,euvd
  12. https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3Wx_refsource_MISC,advisory,euvd
  13. https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.htmlx_refsource_MISC,advisory,euvd
  14. https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.htmlx_refsource_MISC,advisory,euvd
  15. https://lists.opensuse.org/opensuse-security-announce/2020-11/msg00039.htmlx_refsource_MISC,advisory,euvd
  16. https://packetstormsecurity.com/files/162159/jQuery-1.2-Cross-Site-Scripting.htmlx_refsource_MISC,advisory,euvd