Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2019-11358 PoC — jQuery 跨站脚本漏洞

Source
Associated Vulnerability
Title:jQuery 跨站脚本漏洞 (CVE-2019-11358)
Description:jQuery是美国John Resig个人开发者的一套开源、跨浏览器的JavaScript库。该库简化了HTML与JavaScript之间的操作,并具有模块化、插件扩展等特点。 jQuery 3.4.0之前版本中存在跨站脚本漏洞,该漏洞源于WEB应用缺少对客户端数据的正确验证。攻击者可利用该漏洞执行客户端代码。
Description
patches for SNYK-JS-JQUERY-565129, SNYK-JS-JQUERY-567880, CVE-2020-1102, CVE-2020-11023, includes the patches for SNYK-JS-JQUERY-174006, CVE-2019-11358, CVE-2019-5428
Readme
This repository contains the patches for [CVE-2020-11022](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11022) and [CVE-2020-11023](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11023) which affect all jQuery versions prior 3.5.0, including the patches from [DanielRuf/snyk-js-jquery-174006](https://github.com/DanielRuf/snyk-js-jquery-174006).

These patches were generated with `diff -u original patched > patchfile`.

## Apply the patches

You can apply the patches with [`patch`](http://man7.org/linux/man-pages/man1/patch.1p.html), [`git apply`](https://git-scm.com/docs/git-apply), [`patch-package`](https://github.com/ds300/patch-package) and [`composer-patches`](https://github.com/cweagans/composer-patches).

Please consult the corresponding docs.

## Generate minified versions

You can generate the minified versions by applying the patches to the original unminified versions and running `./minify.sh` in a terminal (requires Node.js).

## Support

only via [Threema](https://threema.id/74SF7MW6?text=)
File Snapshot

[4.0K] /data/pocs/e43d91a3c331c98acf7fc7cef1694f1eb22e986f ├── [2.1K] jquery-1.12.4.patch ├── [2.0K] jquery-2.2.4.patch ├── [1.9K] jquery-3.4.1.patch ├── [1.9K] jquery-3.4.1.slim.patch ├── [1.3K] minify.sh └── [1.0K] README.md 0 directories, 6 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.