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-174006, CVE-2019-11358, CVE-2019-5428
Readme
This repository contains the patches for [CVE-2019-11358 - prototype pollution vulnerability](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11358) which affects all jQuery versions prior 3.4.0.

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/b739fc05e091cde7ab220e1aeb39f8aede1a9b4c ├── [ 456] jquery-1.12.4.patch ├── [ 454] jquery-2.2.4.patch ├── [ 454] jquery-3.3.1.patch ├── [ 386] jquery-3.3.1.slim.patch ├── [1.3K] minify.sh └── [ 876] 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.