CVE-2020-7656
MEDIUM6.1EPSS 0.89%Cross-Site Scripting in jquery
發布日:2020/5/20修改日:2026/3/13
描述
Versions of `jquery` prior to 1.9.0 are vulnerable to Cross-Site Scripting. The load method fails to recognize and remove `<script>` HTML tags that contain a whitespace character, i.e: `</script >`, which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim's browser. ## Recommendation Upgrade to version 1.9.0 or later.
受影響套件(4)
- Maven/org.webjars.npm:jquery>= 1.2.1, < 1.9.0
- npm/jquery>= 1.2.1, < 1.9.0
- NuGet/jQuery>= 1.2.1, < 1.9.0
- RubyGems/jquery-railsfrom 0, < 2.2.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
參考連結(12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-7656
- PATCHhttps://github.com/jquery/jquery
- WEBhttps://github.com/jquery/jquery/blob/9e6393b0bcb52b15313f88141d0bd7dd54227426/src/ajax.js#L203
- WEBhttps://github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457d
- WEBhttps://github.com/jquery/jquery/commit/606b863edaff29035960e4d813b45d63b8d92876
- WEBhttps://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#220-19-january-2013
- WEBhttps://github.com/rails/jquery-rails/blob/v2.1.4/vendor/assets/javascripts/jquery.js#L7481
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2020-7656.yml
- WEBhttps://security.netapp.com/advisory/ntap-20200528-0001
- WEBhttps://snyk.io/vuln/SNYK-JS-JQUERY-569619
- WEBhttps://supportportal.juniper.net/s/article/2021-07-Security-Bulletin-Junos-OS-Multiple-J-Web-vulnerabilities-resolved-in-Junos-OS-21-2R1?language=en_US
- WEBhttps://www.oracle.com/security-alerts/cpujul2022.html